diff options
| author | Michael Brown | 2016-03-08 16:48:53 +0100 |
|---|---|---|
| committer | Michael Brown | 2016-03-08 16:51:53 +0100 |
| commit | 6a3ffa0114411ae4aa6c4485c6058bf03fec3623 (patch) | |
| tree | 5a82fba9a29bbc303c6c32b3faefcddf88afbb04 /src/include | |
| parent | [infiniband] Assign names to CMRC connections (diff) | |
| download | ipxe-6a3ffa0114411ae4aa6c4485c6058bf03fec3623.tar.gz ipxe-6a3ffa0114411ae4aa6c4485c6058bf03fec3623.tar.xz ipxe-6a3ffa0114411ae4aa6c4485c6058bf03fec3623.zip | |
[infiniband] Assign names to queue pairs
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ipxe/infiniband.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ipxe/infiniband.h b/src/include/ipxe/infiniband.h index 065e42180..5910390da 100644 --- a/src/include/ipxe/infiniband.h +++ b/src/include/ipxe/infiniband.h @@ -158,6 +158,8 @@ struct ib_queue_pair { struct ib_device *ibdev; /** List of queue pairs on this Infiniband device */ struct list_head list; + /** Queue pair name */ + const char *name; /** Queue pair number */ unsigned long qpn; /** Externally-visible queue pair number @@ -498,7 +500,7 @@ extern struct ib_queue_pair * ib_create_qp ( struct ib_device *ibdev, enum ib_queue_pair_type type, unsigned int num_send_wqes, struct ib_completion_queue *send_cq, unsigned int num_recv_wqes, struct ib_completion_queue *recv_cq, - struct ib_queue_pair_operations *op ); + struct ib_queue_pair_operations *op, const char *name ); extern int ib_modify_qp ( struct ib_device *ibdev, struct ib_queue_pair *qp ); extern void ib_destroy_qp ( struct ib_device *ibdev, struct ib_queue_pair *qp ); |
