Searched defs:cq_desc (Results 1 - 12 of 12) sorted by relevance

/drivers/net/ethernet/cisco/enic/
H A Dcq_desc.h40 struct cq_desc { struct
56 static inline void cq_desc_dec(const struct cq_desc *desc_arg,
59 const struct cq_desc *desc = desc_arg;
H A Dvnic_cq.h23 #include "cq_desc.h"
74 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc,
78 struct cq_desc *cq_desc; local
83 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs +
85 cq_desc_dec(cq_desc, &type, &color,
90 if ((*q_service)(cq->vdev, cq_desc, type,
100 cq_desc
72 vnic_cq_service(struct vnic_cq *cq, unsigned int work_to_do, int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, u8 type, u16 q_number, u16 completed_index, void *opaque), void *opaque) argument
[all...]
H A Dvnic_wq.h140 struct cq_desc *cq_desc, u16 completed_index,
142 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque),
150 (*buf_service)(wq, cq_desc, buf, opaque);
139 vnic_wq_service(struct vnic_wq *wq, struct cq_desc *cq_desc, u16 completed_index, void (*buf_service)(struct vnic_wq *wq, struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), void *opaque) argument
H A Dvnic_rq.h173 struct cq_desc *cq_desc, u16 completed_index,
175 struct cq_desc *cq_desc, struct vnic_rq_buf *buf,
186 (*buf_service)(rq, cq_desc, buf, skipped, opaque);
172 vnic_rq_service(struct vnic_rq *rq, struct cq_desc *cq_desc, u16 completed_index, int desc_return, void (*buf_service)(struct vnic_rq *rq, struct cq_desc *cq_desc, struct vnic_rq_buf *buf, int skipped, void *opaque), void *opaque) argument
H A Denic_main.c154 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque)
159 static int enic_wq_service(struct vnic_dev *vdev, struct cq_desc *cq_desc, argument
166 vnic_wq_service(&enic->wq[q_number], cq_desc,
990 struct cq_desc *cq_desc, struct vnic_rq_buf *buf,
1011 cq_enet_rq_desc_dec((struct cq_enet_rq_desc *)cq_desc,
1091 static int enic_rq_service(struct vnic_dev *vdev, struct cq_desc *cq_desc, argument
153 enic_wq_free_buf(struct vnic_wq *wq, struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque) argument
989 enic_rq_indicate_buf(struct vnic_rq *rq, struct cq_desc *cq_desc, struct vnic_rq_buf *buf, int skipped, void *opaque) argument
[all...]
/drivers/scsi/fnic/
H A Dcq_desc.h38 struct cq_desc { struct
54 static inline void cq_desc_dec(const struct cq_desc *desc_arg,
57 const struct cq_desc *desc = desc_arg;
H A Dvnic_cq.h21 #include "cq_desc.h"
72 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc,
76 struct cq_desc *cq_desc; local
81 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs +
83 cq_desc_dec(cq_desc, &type, &color,
88 if ((*q_service)(cq->vdev, cq_desc, type,
98 cq_desc
70 vnic_cq_service(struct vnic_cq *cq, unsigned int work_to_do, int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, u8 type, u16 q_number, u16 completed_index, void *opaque), void *opaque) argument
[all...]
H A Dvnic_wq.h140 struct cq_desc *cq_desc, u16 completed_index,
142 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque),
150 (*buf_service)(wq, cq_desc, buf, opaque);
139 vnic_wq_service(struct vnic_wq *wq, struct cq_desc *cq_desc, u16 completed_index, void (*buf_service)(struct vnic_wq *wq, struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), void *opaque) argument
H A Dvnic_rq.h181 struct cq_desc *cq_desc, u16 completed_index,
183 struct cq_desc *cq_desc, struct vnic_rq_buf *buf,
194 (*buf_service)(rq, cq_desc, buf, skipped, opaque);
180 vnic_rq_service(struct vnic_rq *rq, struct cq_desc *cq_desc, u16 completed_index, int desc_return, void (*buf_service)(struct vnic_rq *rq, struct cq_desc *cq_desc, struct vnic_rq_buf *buf, int skipped, void *opaque), void *opaque) argument
H A Dfnic_fcs.c785 static void fnic_rq_cmpl_frame_recv(struct vnic_rq *rq, struct cq_desc argument
786 *cq_desc, struct vnic_rq_buf *buf,
815 cq_desc_dec(cq_desc, &type, &color, &q_number, &completed_index);
817 cq_fcp_rq_desc_dec((struct cq_fcp_rq_desc *)cq_desc,
830 cq_enet_rq_desc_dec((struct cq_enet_rq_desc *)cq_desc,
891 struct cq_desc *cq_desc, u8 type,
897 vnic_rq_service(&fnic->rq[q_number], cq_desc, completed_index,
1184 struct cq_desc *cq_desc,
890 fnic_rq_cmpl_handler_cont(struct vnic_dev *vdev, struct cq_desc *cq_desc, u8 type, u16 q_number, u16 completed_index, void *opaque) argument
1183 fnic_wq_complete_frame_send(struct vnic_wq *wq, struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque) argument
1197 fnic_wq_cmpl_handler_cont(struct vnic_dev *vdev, struct cq_desc *cq_desc, u8 type, u16 q_number, u16 completed_index, void *opaque) argument
[all...]
/drivers/infiniband/ulp/isert/
H A Dib_isert.h174 struct isert_cq_desc *cq_desc; member in struct:isert_device
H A Dib_isert.c228 struct isert_cq_desc *cq_desc; local
265 device->cq_desc = kzalloc(sizeof(struct isert_cq_desc) *
267 if (!device->cq_desc) {
268 pr_err("Unable to allocate device->cq_desc\n");
271 cq_desc = device->cq_desc;
274 cq_desc[i].device = device;
275 cq_desc[i].cq_index = i;
277 INIT_WORK(&cq_desc[i].cq_rx_work, isert_cq_rx_work);
281 (void *)&cq_desc[
333 struct isert_cq_desc *cq_desc; local
2060 struct isert_cq_desc *cq_desc = container_of(work, local
2096 struct isert_cq_desc *cq_desc = (struct isert_cq_desc *)context; local
2104 struct isert_cq_desc *cq_desc = container_of(work, local
2139 struct isert_cq_desc *cq_desc = (struct isert_cq_desc *)context; local
[all...]

Completed in 832 milliseconds