summaryrefslogtreecommitdiffstats
path: root/src/drivers/infiniband/arbel.h
diff options
context:
space:
mode:
authorMichael Brown2010-09-17 05:56:23 +0200
committerMichael Brown2010-09-17 06:51:34 +0200
commitd84e4e0575671466e19e7ada274fdb430426d617 (patch)
treeb626f92a4f65c6420c8353a346634b67d8501cca /src/drivers/infiniband/arbel.h
parent[arbel] Allow for multiple calls to ib_modify_qp() (diff)
downloadipxe-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.h4
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
*