[ipoib] Kill off the now-unused IPoIB metadata queue set
[people/oremanj/gpxe.git] / src / include / gpxe / ib_qset.h
1 #ifndef _GPXE_IB_QSET_H
2 #define _GPXE_IB_QSET_H
3
4 /** @file
5  *
6  * Infiniband queue sets
7  *
8  */
9
10 FILE_LICENCE ( GPL2_OR_LATER );
11
12 #include <stdint.h>
13 #include <gpxe/infiniband.h>
14
15 /** An Infiniband queue set */
16 struct ib_queue_set {
17         /** Completion queue */
18         struct ib_completion_queue *cq;
19         /** Queue pair */
20         struct ib_queue_pair *qp;
21 };
22
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 );
30
31 #endif /* _GPXE_IB_QSET_H */