Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/snic/
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()
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()
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()
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()
Dcq_enet_desc.h34 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
/kernel/linux/linux-5.10/drivers/scsi/fnic/
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()
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()
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()
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()
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()
Dfnic_fcs.c825 static void fnic_rq_cmpl_frame_recv(struct vnic_rq *rq, struct cq_desc in fnic_rq_cmpl_frame_recv()
826 *cq_desc, struct vnic_rq_buf *buf, in fnic_rq_cmpl_frame_recv() argument
854 cq_desc_dec(cq_desc, &type, &color, &q_number, &completed_index); in fnic_rq_cmpl_frame_recv()
856 cq_fcp_rq_desc_dec((struct cq_fcp_rq_desc *)cq_desc, in fnic_rq_cmpl_frame_recv()
868 cq_enet_rq_desc_dec((struct cq_enet_rq_desc *)cq_desc, in fnic_rq_cmpl_frame_recv()
928 struct cq_desc *cq_desc, u8 type, in fnic_rq_cmpl_handler_cont() argument
934 vnic_rq_service(&fnic->rq[q_number], cq_desc, completed_index, in fnic_rq_cmpl_handler_cont()
1245 struct cq_desc *cq_desc, in fnic_wq_complete_frame_send() argument
1259 struct cq_desc *cq_desc, u8 type, in fnic_wq_cmpl_handler_cont() argument
1267 vnic_wq_service(&fnic->wq[q_number], cq_desc, completed_index, in fnic_wq_cmpl_handler_cont()
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
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()
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()
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()
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()
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()
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()
1297 struct cq_desc *cq_desc, struct vnic_rq_buf *buf, in enic_rq_indicate_buf() argument
1319 cq_enet_rq_desc_dec((struct cq_enet_rq_desc *)cq_desc, in enic_rq_indicate_buf()
1434 static int enic_rq_service(struct vnic_dev *vdev, struct cq_desc *cq_desc, in enic_rq_service() argument
1439 vnic_rq_service(&enic->rq[q_number], cq_desc, in enic_rq_service()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_controlq.c843 struct ice_aq_desc *cq_desc = (struct ice_aq_desc *)desc; in ice_debug_cq() local
853 len = le16_to_cpu(cq_desc->datalen); in ice_debug_cq()
857 le16_to_cpu(cq_desc->opcode), in ice_debug_cq()
858 le16_to_cpu(cq_desc->flags), in ice_debug_cq()
859 le16_to_cpu(cq_desc->datalen), le16_to_cpu(cq_desc->retval)); in ice_debug_cq()
861 le32_to_cpu(cq_desc->cookie_high), in ice_debug_cq()
862 le32_to_cpu(cq_desc->cookie_low)); in ice_debug_cq()
864 le32_to_cpu(cq_desc->params.generic.param0), in ice_debug_cq()
865 le32_to_cpu(cq_desc->params.generic.param1)); in ice_debug_cq()
867 le32_to_cpu(cq_desc->params.generic.addr_high), in ice_debug_cq()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c73 struct ionic_rxq_comp *comp = cq_info->cq_desc; in ionic_rx_frags()
119 struct ionic_rxq_comp *comp = cq_info->cq_desc; in ionic_rx_copybreak()
154 struct ionic_rxq_comp *comp = cq_info->cq_desc; in ionic_rx_clean()
229 struct ionic_rxq_comp *comp = cq_info->cq_desc; in ionic_rx_service()
649 struct ionic_txq_comp *comp = cq_info->cq_desc; in ionic_tx_service()
Dionic_dev.h155 void *cq_desc; member
Dionic_main.c242 comp = cq_info->cq_desc; in ionic_adminq_cb()
Dionic_dev.c496 cur->cq_desc = base + (i * cq->desc_size); in ionic_cq_map()
Dionic_lif.c827 union ionic_notifyq_comp *comp = cq_info->cq_desc; in ionic_notifyq_service()
874 struct ionic_admin_comp *comp = cq_info->cq_desc; in ionic_adminq_service()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c857 struct cqe_rx_t *cq_desc; in nicvf_cq_intr_handler() local
878 cq_desc = (struct cqe_rx_t *)GET_CQ_DESC(cq, cqe_head); in nicvf_cq_intr_handler()
885 (cq_desc->cqe_type != CQE_TYPE_SEND)) { in nicvf_cq_intr_handler()
889 switch (cq_desc->cqe_type) { in nicvf_cq_intr_handler()
891 nicvf_rcv_pkt_handler(netdev, napi, cq_desc, sq, rq); in nicvf_cq_intr_handler()
895 nicvf_snd_pkt_handler(netdev, (void *)cq_desc, in nicvf_cq_intr_handler()
901 nicvf_snd_ptp_handler(netdev, (void *)cq_desc); in nicvf_cq_intr_handler()