1 #ifndef _GPXE_IB_QSET_H
2 #define _GPXE_IB_QSET_H
6 * Infiniband queue sets
10 FILE_LICENCE ( GPL2_OR_LATER );
13 #include <gpxe/infiniband.h>
15 /** An Infiniband queue set */
17 /** Completion queue */
18 struct ib_completion_queue *cq;
20 struct ib_queue_pair *qp;
23 extern int ib_create_qset ( struct ib_device *ibdev,
24 struct ib_queue_set *qset, unsigned int num_cqes,
25 struct ib_completion_queue_operations *cq_op,
26 unsigned int num_send_wqes,
27 unsigned int num_recv_wqes, unsigned long qkey );
28 extern void ib_destroy_qset ( struct ib_device *ibdev,
29 struct ib_queue_set *qset );
31 #endif /* _GPXE_IB_QSET_H */