mirror of
https://github.com/ipxe/ipxe
synced 2026-01-01 09:09:32 +03:00
[arbel] Synchronise changes with the Hermon driver
Backport some changes from the Hermon driver to the Arbel driver. Specifically: o Rename reserved_lkey to lkey o Add arbel_rate() to calculate transmission rates o Structure code to allow for addition of RC queue pairs Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -107,6 +107,10 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#define ARBEL_LOG_MULTICAST_HASH_SIZE 3
|
||||
|
||||
#define ARBEL_PM_STATE_ARMED 0x00
|
||||
#define ARBEL_PM_STATE_REARM 0x01
|
||||
#define ARBEL_PM_STATE_MIGRATED 0x03
|
||||
|
||||
/*
|
||||
* Datatypes that seem to be missing from the autogenerated documentation
|
||||
*
|
||||
@@ -469,11 +473,11 @@ struct arbel {
|
||||
struct arbel_event_queue eq;
|
||||
/** Doorbell records */
|
||||
union arbelprm_doorbell_record *db_rec;
|
||||
/** Reserved LKey
|
||||
/** Unrestricted LKey
|
||||
*
|
||||
* Used to get unrestricted memory access.
|
||||
*/
|
||||
unsigned long reserved_lkey;
|
||||
unsigned long lkey;
|
||||
|
||||
/** Completion queue in-use bitmask */
|
||||
arbel_bitmask_t cq_inuse[ ARBEL_BITMASK_SIZE ( ARBEL_MAX_CQS ) ];
|
||||
|
||||
Reference in New Issue
Block a user