mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 17:42:47 +03:00
[ipoib] Remove the queue set abstraction
Now that IPoIB has to deal with only one set of queues, the queue set abstraction becomes merely an inconvenient wrapper.
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
#ifndef _GPXE_IB_QSET_H
|
||||
#define _GPXE_IB_QSET_H
|
||||
|
||||
/** @file
|
||||
*
|
||||
* Infiniband queue sets
|
||||
*
|
||||
*/
|
||||
|
||||
FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#include <stdint.h>
|
||||
#include <gpxe/infiniband.h>
|
||||
|
||||
/** An Infiniband queue set */
|
||||
struct ib_queue_set {
|
||||
/** Completion queue */
|
||||
struct ib_completion_queue *cq;
|
||||
/** Queue pair */
|
||||
struct ib_queue_pair *qp;
|
||||
};
|
||||
|
||||
extern int ib_create_qset ( struct ib_device *ibdev,
|
||||
struct ib_queue_set *qset, unsigned int num_cqes,
|
||||
struct ib_completion_queue_operations *cq_op,
|
||||
unsigned int num_send_wqes,
|
||||
unsigned int num_recv_wqes, unsigned long qkey );
|
||||
extern void ib_destroy_qset ( struct ib_device *ibdev,
|
||||
struct ib_queue_set *qset );
|
||||
|
||||
#endif /* _GPXE_IB_QSET_H */
|
||||
Reference in New Issue
Block a user