mirror of
https://github.com/ipxe/ipxe
synced 2026-01-03 18:31:03 +03:00
[arbel] Allow for multiple calls to ib_modify_qp()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -365,12 +365,22 @@ struct arbel_recv_work_queue {
|
||||
/** Queue pair number randomisation mask */
|
||||
#define ARBEL_QPN_RANDOM_MASK 0xfff000
|
||||
|
||||
/** Arbel queue pair state */
|
||||
enum arbel_queue_pair_state {
|
||||
ARBEL_QP_ST_RST = 0,
|
||||
ARBEL_QP_ST_INIT,
|
||||
ARBEL_QP_ST_RTR,
|
||||
ARBEL_QP_ST_RTS,
|
||||
};
|
||||
|
||||
/** An Arbel queue pair */
|
||||
struct arbel_queue_pair {
|
||||
/** Send work queue */
|
||||
struct arbel_send_work_queue send;
|
||||
/** Receive work queue */
|
||||
struct arbel_recv_work_queue recv;
|
||||
/** Queue state */
|
||||
enum arbel_queue_pair_state state;
|
||||
};
|
||||
|
||||
/** Maximum number of allocatable completion queues
|
||||
|
||||
Reference in New Issue
Block a user