diff options
| author | Michael Brown | 2010-09-19 00:39:33 +0200 |
|---|---|---|
| committer | Michael Brown | 2010-09-19 01:04:26 +0200 |
| commit | 0d6b1d98fa8fe6ca25529e5bdf6b8f8b37857859 (patch) | |
| tree | 9a26d9d6550bad62d8e2c702f5adbbf4df399f68 /src/drivers/infiniband/hermon.h | |
| parent | [hermon] Minimise the number of VPM mapping operations (diff) | |
| download | ipxe-0d6b1d98fa8fe6ca25529e5bdf6b8f8b37857859.tar.gz ipxe-0d6b1d98fa8fe6ca25529e5bdf6b8f8b37857859.tar.xz ipxe-0d6b1d98fa8fe6ca25529e5bdf6b8f8b37857859.zip | |
[hermon] Tidy up ICM allocations
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband/hermon.h')
| -rw-r--r-- | src/drivers/infiniband/hermon.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/infiniband/hermon.h b/src/drivers/infiniband/hermon.h index e09c56a50..f9edd6faa 100644 --- a/src/drivers/infiniband/hermon.h +++ b/src/drivers/infiniband/hermon.h @@ -89,7 +89,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define HERMON_INVALID_LKEY 0x00000100UL -#define HERMON_PAGE_SIZE 4096 +#define HERMON_PAGE_SIZE ( ( size_t ) 4096 ) #define HERMON_DB_POST_SND_OFFSET 0x14 #define HERMON_DB_EQ_OFFSET(_eqn) \ @@ -107,6 +107,8 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define HERMON_SCHED_QP0 0x3f #define HERMON_SCHED_DEFAULT 0x83 +#define HERMON_LOG_MULTICAST_HASH_SIZE 7 + #define HERMON_PM_STATE_ARMED 0x00 #define HERMON_PM_STATE_REARM 0x01 #define HERMON_PM_STATE_MIGRATED 0x03 |
