Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
void | qib_cq_enter (struct qib_cq *cq, struct ib_wc *entry, int solicited) |
int | qib_poll_cq (struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) |
struct ib_cq * | qib_create_cq (struct ib_device *ibdev, int entries, int comp_vector, struct ib_ucontext *context, struct ib_udata *udata) |
int | qib_destroy_cq (struct ib_cq *ibcq) |
int | qib_req_notify_cq (struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) |
int | qib_resize_cq (struct ib_cq *ibcq, int cqe, struct ib_udata *udata) |
|
read |
qib_create_cq - create a completion queue : the device this completion queue is attached to : the minimum size of the completion queue : unused by the QLogic_IB driver : user data for libibverbs.so
Returns a pointer to the completion queue or negative errno values for failure.
Called by ib_create_cq() in the generic verbs code.
qib_destroy_cq - destroy a completion queue : the completion queue to destroy.
Returns 0 for success.
Called by ib_destroy_cq() in the generic verbs code.
qib_poll_cq - poll for work completion entries : the completion queue to poll : the maximum number of entries to return : pointer to array where work completions are placed
Returns the number of completion entries polled.
This may be called from interrupt context. Also called by ib_poll_cq() in the generic verbs code.
int qib_req_notify_cq | ( | struct ib_cq * | ibcq, |
enum ib_cq_notify_flags | notify_flags | ||
) |