Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/snic/
Dvnic_cq.h48 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in svnic_cq_service() argument
52 struct cq_desc *cq_desc; in svnic_cq_service() local
57 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in svnic_cq_service()
59 cq_desc_dec(cq_desc, &type, &color, in svnic_cq_service()
64 if ((*q_service)(cq->vdev, cq_desc, type, in svnic_cq_service()
74 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in svnic_cq_service()
76 cq_desc_dec(cq_desc, &type, &color, in svnic_cq_service()
Dvnic_wq.h115 struct cq_desc *cq_desc, u16 completed_index, in svnic_wq_service() argument
117 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), in svnic_wq_service()
125 (*buf_service)(wq, cq_desc, buf, opaque); in svnic_wq_service()
Dcq_desc.h24 struct cq_desc { struct
40 static inline void cq_desc_dec(const struct cq_desc *desc_arg, in cq_desc_dec() argument
43 const struct cq_desc *desc = desc_arg; in cq_desc_dec()
Dsnic_io.c21 struct cq_desc *cq_desc, in snic_wq_cmpl_frame_send() argument
43 struct cq_desc *cq_desc, in snic_wq_cmpl_handler_cont() argument
56 cq_desc, in snic_wq_cmpl_handler_cont()
Dcq_enet_desc.h20 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
/linux-6.12.1/drivers/scsi/fnic/
Dvnic_cq.h60 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in vnic_cq_service() argument
64 struct cq_desc *cq_desc; in vnic_cq_service() local
69 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
71 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
76 if ((*q_service)(cq->vdev, cq_desc, type, in vnic_cq_service()
86 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
88 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
Dcq_desc.h26 struct cq_desc { struct
42 static inline void cq_desc_dec(const struct cq_desc *desc_arg, in cq_desc_dec() argument
45 const struct cq_desc *desc = desc_arg; in cq_desc_dec()
Dvnic_wq.h130 struct cq_desc *cq_desc, u16 completed_index, in vnic_wq_service() argument
132 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), in vnic_wq_service()
140 (*buf_service)(wq, cq_desc, buf, opaque); in vnic_wq_service()
Dvnic_rq.h169 struct cq_desc *cq_desc, u16 completed_index, in vnic_rq_service() argument
171 struct cq_desc *cq_desc, struct vnic_rq_buf *buf, in vnic_rq_service()
182 (*buf_service)(rq, cq_desc, buf, skipped, opaque); in vnic_rq_service()
Dcq_exch_desc.h41 cq_desc_dec((struct cq_desc *)desc_ptr, type, in cq_exch_wq_desc_dec()
94 cq_desc_dec((struct cq_desc *)desc_ptr, type, in cq_fcp_rq_desc_dec()
162 cq_desc_dec((struct cq_desc *)desc_ptr, type, color, q_number, in cq_sgl_desc_dec()
Dfnic_fcs.c823 static void fnic_rq_cmpl_frame_recv(struct vnic_rq *rq, struct cq_desc in fnic_rq_cmpl_frame_recv()
824 *cq_desc, struct vnic_rq_buf *buf, in fnic_rq_cmpl_frame_recv() argument
852 cq_desc_dec(cq_desc, &type, &color, &q_number, &completed_index); in fnic_rq_cmpl_frame_recv()
854 cq_fcp_rq_desc_dec((struct cq_fcp_rq_desc *)cq_desc, in fnic_rq_cmpl_frame_recv()
866 cq_enet_rq_desc_dec((struct cq_enet_rq_desc *)cq_desc, in fnic_rq_cmpl_frame_recv()
926 struct cq_desc *cq_desc, u8 type, in fnic_rq_cmpl_handler_cont() argument
932 vnic_rq_service(&fnic->rq[q_number], cq_desc, completed_index, in fnic_rq_cmpl_handler_cont()
1244 struct cq_desc *cq_desc, in fnic_wq_complete_frame_send() argument
1258 struct cq_desc *cq_desc, u8 type, in fnic_wq_cmpl_handler_cont() argument
1266 vnic_wq_service(&fnic->wq[q_number], cq_desc, completed_index, in fnic_wq_cmpl_handler_cont()
Dcq_enet_desc.h22 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
95 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_rq_desc_dec()
/linux-6.12.1/drivers/net/ethernet/cisco/enic/
Dvnic_cq.h61 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in vnic_cq_service() argument
65 struct cq_desc *cq_desc; in vnic_cq_service() local
70 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
72 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
77 if ((*q_service)(cq->vdev, cq_desc, type, in vnic_cq_service()
87 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
89 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
Dcq_desc.h27 struct cq_desc { struct
43 static inline void cq_desc_dec(const struct cq_desc *desc_arg, in cq_desc_dec() argument
46 const struct cq_desc *desc = desc_arg; in cq_desc_dec()
Dvnic_rq.h152 struct cq_desc *cq_desc, u16 completed_index, in vnic_rq_service() argument
154 struct cq_desc *cq_desc, struct vnic_rq_buf *buf, in vnic_rq_service()
165 (*buf_service)(rq, cq_desc, buf, skipped, opaque); in vnic_rq_service()
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()
Dcq_enet_desc.h23 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
104 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_rq_desc_dec()
Denic_main.c341 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque) in enic_wq_free_buf() argument
350 static int enic_wq_service(struct vnic_dev *vdev, struct cq_desc *cq_desc, in enic_wq_service() argument
357 vnic_wq_service(&enic->wq[q_number], cq_desc, in enic_wq_service()
1362 struct cq_desc *cq_desc, struct vnic_rq_buf *buf, in enic_rq_indicate_buf() argument
1388 cq_enet_rq_desc_dec((struct cq_enet_rq_desc *)cq_desc, in enic_rq_indicate_buf()
1510 static int enic_rq_service(struct vnic_dev *vdev, struct cq_desc *cq_desc, in enic_rq_service() argument
1515 vnic_rq_service(&enic->rq[q_number], cq_desc, in enic_rq_service()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_controlq.c915 struct ice_aq_desc *cq_desc = desc; in ice_debug_cq() local
925 datalen = le16_to_cpu(cq_desc->datalen); in ice_debug_cq()
926 flags = le16_to_cpu(cq_desc->flags); in ice_debug_cq()
930 le16_to_cpu(cq_desc->opcode), flags, datalen, in ice_debug_cq()
931 le16_to_cpu(cq_desc->retval), in ice_debug_cq()
932 le32_to_cpu(cq_desc->cookie_high), in ice_debug_cq()
933 le32_to_cpu(cq_desc->cookie_low), in ice_debug_cq()
934 le32_to_cpu(cq_desc->params.generic.param0), in ice_debug_cq()
935 le32_to_cpu(cq_desc->params.generic.param1), in ice_debug_cq()
936 le32_to_cpu(cq_desc->params.generic.addr_high), in ice_debug_cq()
[all …]
/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
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()