ib_cq
kmem_free(cq, sizeof (struct ib_cq));
return ((struct ib_cq *)-EINVAL);
return ((struct ib_cq *)-ENOMEM);
return ((struct ib_cq *)-EIO);
ib_destroy_cq(struct ib_cq *cq)
kmem_free(cq, sizeof (struct ib_cq));
ib_req_notify_cq(struct ib_cq *cq, enum ib_cq_notify_flags flags)
struct ib_cq *cqp;
ib_poll_cq(struct ib_cq *cq, int num_entries, struct ib_wc *wc)
struct ib_cq *cq = (struct ib_cq *)ibt_get_cq_private(ibt_cq);
struct ib_cq *
struct ib_cq *cq;
if ((cq = kmem_alloc(sizeof (struct ib_cq), KM_NOSLEEP)) == NULL) {
return ((struct ib_cq *)-ENOMEM);
kmem_free(cq, sizeof (struct ib_cq));
return ((struct ib_cq *)-ENXIO);
rdsv3_ib_snd_cq_comp_handler(struct ib_cq *cq, void *context)
rdsv3_ib_cq_comp_handler(struct ib_cq *cq, void *context)
struct ib_cq *cq;
struct ib_cq *send_cq;
struct ib_cq *recv_cq;
typedef void (*ib_comp_handler)(struct ib_cq *cq, void *cq_context);
struct ib_cq *send_cq;
struct ib_cq *recv_cq;
struct ib_cq *ib_create_cq(struct ib_device *device,
int ib_destroy_cq(struct ib_cq *cq);
int ib_poll_cq(struct ib_cq *cq, int num_entries, struct ib_wc *wc);
int ib_req_notify_cq(struct ib_cq *cq, enum ib_cq_notify_flags flags);
struct ib_cq *i_cq;
struct ib_cq *i_snd_cq;