Home
last modified time | relevance | path

Searched refs:cq_desc (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/scsi/snic/
A Dvnic_cq.h62 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in svnic_cq_service() argument
66 struct cq_desc *cq_desc; in svnic_cq_service() local
71 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in svnic_cq_service()
73 cq_desc_dec(cq_desc, &type, &color, in svnic_cq_service()
78 if ((*q_service)(cq->vdev, cq_desc, type, in svnic_cq_service()
88 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in svnic_cq_service()
90 cq_desc_dec(cq_desc, &type, &color, in svnic_cq_service()
A Dvnic_wq.h129 struct cq_desc *cq_desc, u16 completed_index, in svnic_wq_service() argument
131 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), in svnic_wq_service()
139 (*buf_service)(wq, cq_desc, buf, opaque); in svnic_wq_service()
A Dcq_desc.h38 struct cq_desc { struct
54 static inline void cq_desc_dec(const struct cq_desc *desc_arg, in cq_desc_dec() argument
57 const struct cq_desc *desc = desc_arg; in cq_desc_dec()
A Dsnic_io.c35 struct cq_desc *cq_desc, in snic_wq_cmpl_frame_send() argument
57 struct cq_desc *cq_desc, in snic_wq_cmpl_handler_cont() argument
70 cq_desc, in snic_wq_cmpl_handler_cont()
A Dcq_enet_desc.h34 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
/linux/drivers/scsi/fnic/
A Dvnic_cq.h72 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in vnic_cq_service() argument
76 struct cq_desc *cq_desc; in vnic_cq_service() local
81 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
83 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
88 if ((*q_service)(cq->vdev, cq_desc, type, in vnic_cq_service()
98 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
100 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
A Dvnic_wq.h142 struct cq_desc *cq_desc, u16 completed_index, in vnic_wq_service() argument
144 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), in vnic_wq_service()
152 (*buf_service)(wq, cq_desc, buf, opaque); in vnic_wq_service()
A Dcq_desc.h38 struct cq_desc { struct
54 static inline void cq_desc_dec(const struct cq_desc *desc_arg, in cq_desc_dec() argument
57 const struct cq_desc *desc = desc_arg; in cq_desc_dec()
A Dvnic_rq.h181 struct cq_desc *cq_desc, u16 completed_index, in vnic_rq_service() argument
183 struct cq_desc *cq_desc, struct vnic_rq_buf *buf, in vnic_rq_service()
194 (*buf_service)(rq, cq_desc, buf, skipped, opaque); in vnic_rq_service()
A Dcq_exch_desc.h53 cq_desc_dec((struct cq_desc *)desc_ptr, type, in cq_exch_wq_desc_dec()
106 cq_desc_dec((struct cq_desc *)desc_ptr, type, in cq_fcp_rq_desc_dec()
174 cq_desc_dec((struct cq_desc *)desc_ptr, type, color, q_number, in cq_sgl_desc_dec()
A Dfnic_fcs.c827 static void fnic_rq_cmpl_frame_recv(struct vnic_rq *rq, struct cq_desc in fnic_rq_cmpl_frame_recv()
828 *cq_desc, struct vnic_rq_buf *buf, in fnic_rq_cmpl_frame_recv() argument
856 cq_desc_dec(cq_desc, &type, &color, &q_number, &completed_index); in fnic_rq_cmpl_frame_recv()
858 cq_fcp_rq_desc_dec((struct cq_fcp_rq_desc *)cq_desc, in fnic_rq_cmpl_frame_recv()
870 cq_enet_rq_desc_dec((struct cq_enet_rq_desc *)cq_desc, in fnic_rq_cmpl_frame_recv()
930 struct cq_desc *cq_desc, u8 type, in fnic_rq_cmpl_handler_cont() argument
936 vnic_rq_service(&fnic->rq[q_number], cq_desc, completed_index, in fnic_rq_cmpl_handler_cont()
1247 struct cq_desc *cq_desc, in fnic_wq_complete_frame_send() argument
1261 struct cq_desc *cq_desc, u8 type, in fnic_wq_cmpl_handler_cont() argument
1269 vnic_wq_service(&fnic->wq[q_number], cq_desc, completed_index, in fnic_wq_cmpl_handler_cont()
A Dcq_enet_desc.h34 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
107 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_rq_desc_dec()
/linux/drivers/net/ethernet/cisco/enic/
A Dvnic_cq.h74 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in vnic_cq_service() argument
78 struct cq_desc *cq_desc; in vnic_cq_service() local
83 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
85 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
90 if ((*q_service)(cq->vdev, cq_desc, type, in vnic_cq_service()
100 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
102 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
A Dvnic_rq.h165 struct cq_desc *cq_desc, u16 completed_index, in vnic_rq_service() argument
167 struct cq_desc *cq_desc, struct vnic_rq_buf *buf, in vnic_rq_service()
178 (*buf_service)(rq, cq_desc, buf, skipped, opaque); in vnic_rq_service()
A Dvnic_wq.h155 struct cq_desc *cq_desc, u16 completed_index, in vnic_wq_service() argument
157 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), in vnic_wq_service()
165 (*buf_service)(wq, cq_desc, buf, opaque); in vnic_wq_service()
A Dcq_desc.h40 struct cq_desc { struct
56 static inline void cq_desc_dec(const struct cq_desc *desc_arg, in cq_desc_dec() argument
59 const struct cq_desc *desc = desc_arg; in cq_desc_dec()
A Dcq_enet_desc.h36 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
117 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_rq_desc_dec()
A Denic_main.c340 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque) in enic_wq_free_buf() argument
345 static int enic_wq_service(struct vnic_dev *vdev, struct cq_desc *cq_desc, in enic_wq_service() argument
352 vnic_wq_service(&enic->wq[q_number], cq_desc, in enic_wq_service()
1298 struct cq_desc *cq_desc, struct vnic_rq_buf *buf, in enic_rq_indicate_buf() argument
1320 cq_enet_rq_desc_dec((struct cq_enet_rq_desc *)cq_desc, in enic_rq_indicate_buf()
1435 static int enic_rq_service(struct vnic_dev *vdev, struct cq_desc *cq_desc, in enic_rq_service() argument
1440 vnic_rq_service(&enic->rq[q_number], cq_desc, in enic_rq_service()
/linux/drivers/net/ethernet/intel/ice/
A Dice_controlq.c903 struct ice_aq_desc *cq_desc = desc; in ice_debug_cq() local
913 len = le16_to_cpu(cq_desc->datalen); in ice_debug_cq()
916 le16_to_cpu(cq_desc->opcode), in ice_debug_cq()
917 le16_to_cpu(cq_desc->flags), in ice_debug_cq()
918 le16_to_cpu(cq_desc->datalen), le16_to_cpu(cq_desc->retval)); in ice_debug_cq()
920 le32_to_cpu(cq_desc->cookie_high), in ice_debug_cq()
921 le32_to_cpu(cq_desc->cookie_low)); in ice_debug_cq()
923 le32_to_cpu(cq_desc->params.generic.param0), in ice_debug_cq()
924 le32_to_cpu(cq_desc->params.generic.param1)); in ice_debug_cq()
926 le32_to_cpu(cq_desc->params.generic.addr_high), in ice_debug_cq()
[all …]
/linux/drivers/net/ethernet/pensando/ionic/
A Dionic_txrx.c227 comp = cq_info->cq_desc + qcq->cq.desc_size - sizeof(*comp); in ionic_rx_clean()
294 cq_info->cq_desc + in ionic_rx_clean()
321 comp = cq_info->cq_desc + cq->desc_size - sizeof(*comp); in ionic_rx_service()
706 cq_info->cq_desc + in ionic_tx_clean()
744 comp = cq_info->cq_desc + cq->desc_size - sizeof(*comp); in ionic_tx_service()
A Dionic_dev.h163 void *cq_desc; member
A Dionic_main.c255 comp = cq_info->cq_desc; in ionic_adminq_cb()
A Dionic_dev.c560 cur->cq_desc = base + (i * cq->desc_size); in ionic_cq_map()
A Dionic_lif.c1088 union ionic_notifyq_comp *comp = cq_info->cq_desc; in ionic_notifyq_service()
1135 struct ionic_admin_comp *comp = cq_info->cq_desc; in ionic_adminq_service()
/linux/drivers/net/ethernet/cavium/thunder/
A Dnicvf_main.c854 struct cqe_rx_t *cq_desc; in nicvf_cq_intr_handler() local
875 cq_desc = (struct cqe_rx_t *)GET_CQ_DESC(cq, cqe_head); in nicvf_cq_intr_handler()
882 (cq_desc->cqe_type != CQE_TYPE_SEND)) { in nicvf_cq_intr_handler()
886 switch (cq_desc->cqe_type) { in nicvf_cq_intr_handler()
888 nicvf_rcv_pkt_handler(netdev, napi, cq_desc, sq, rq); in nicvf_cq_intr_handler()
892 nicvf_snd_pkt_handler(netdev, (void *)cq_desc, in nicvf_cq_intr_handler()
898 nicvf_snd_ptp_handler(netdev, (void *)cq_desc); in nicvf_cq_intr_handler()

Completed in 66 milliseconds