Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
void | ipath_cq_enter (struct ipath_cq *cq, struct ib_wc *entry, int solicited) |
int | ipath_poll_cq (struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) |
struct ib_cq * | ipath_create_cq (struct ib_device *ibdev, int entries, int comp_vector, struct ib_ucontext *context, struct ib_udata *udata) |
int | ipath_destroy_cq (struct ib_cq *ibcq) |
int | ipath_req_notify_cq (struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) |
int | ipath_resize_cq (struct ib_cq *ibcq, int cqe, struct ib_udata *udata) |
ipath_cq_enter - add a new entry to the completion queue : completion queue : work completion entry to add : true if is a solicitated entry
This may be called with qp->s_lock held.
Definition at line 48 of file ipath_cq.c.
|
read |
ipath_create_cq - create a completion queue : the device this completion queue is attached to : the minimum size of the completion queue : unused by the InfiniPath driver : unused by the InfiniPath driver
Returns a pointer to the completion queue or negative errno values for failure.
Called by ib_create_cq() in the generic verbs code.
Definition at line 200 of file ipath_cq.c.
ipath_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.
Definition at line 314 of file ipath_cq.c.
ipath_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.
Definition at line 129 of file ipath_cq.c.
int ipath_req_notify_cq | ( | struct ib_cq * | ibcq, |
enum ib_cq_notify_flags | notify_flags | ||
) |
ipath_req_notify_cq - change the notification type for a completion queue : the completion queue : the type of notification to request
Returns 0 for success.
This may be called from interrupt context. Also called by ib_req_notify_cq() in the generic verbs code.
Definition at line 342 of file ipath_cq.c.