diff options
| author | Michael Brown | 2010-09-17 05:56:23 +0200 |
|---|---|---|
| committer | Michael Brown | 2010-09-17 06:51:34 +0200 |
| commit | d84e4e0575671466e19e7ada274fdb430426d617 (patch) | |
| tree | b626f92a4f65c6420c8353a346634b67d8501cca /src/drivers/infiniband/arbel.h | |
| parent | [arbel] Allow for multiple calls to ib_modify_qp() (diff) | |
| download | ipxe-d84e4e0575671466e19e7ada274fdb430426d617.tar.gz ipxe-d84e4e0575671466e19e7ada274fdb430426d617.tar.xz ipxe-d84e4e0575671466e19e7ada274fdb430426d617.zip | |
[arbel] Perform ICM allocations according to the specification
The current method for ICM allocation exactly matches the addresses
chosen by the old Etherboot driver, but does not match the
specification. Some ICM tables (notably the queue pair context table)
therefore end up incorrectly aligned.
Fix by performing allocations as per the specification.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband/arbel.h')
| -rw-r--r-- | src/drivers/infiniband/arbel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/infiniband/arbel.h b/src/drivers/infiniband/arbel.h index dd64afb56..17803934c 100644 --- a/src/drivers/infiniband/arbel.h +++ b/src/drivers/infiniband/arbel.h @@ -93,6 +93,8 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define ARBEL_PAGE_SIZE 4096 +#define ARBEL_RDB_ENTRY_SIZE 32 + #define ARBEL_DB_POST_SND_OFFSET 0x10 #define ARBEL_DB_EQ_OFFSET(_eqn) ( 0x08 * (_eqn) ) @@ -103,6 +105,8 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define ARBEL_EV_PORT_STATE_CHANGE 0x09 +#define ARBEL_LOG_MULTICAST_HASH_SIZE 3 + /* * Datatypes that seem to be missing from the autogenerated documentation * |
