Searched refs:rq (Results 1 - 18 of 18) sorted by relevance

/deb_dpdk/drivers/net/enic/base/
H A Dvnic_rq.c38 void vnic_rq_free(struct vnic_rq *rq) argument
42 vdev = rq->vdev;
44 vnic_dev_free_desc_ring(vdev, &rq->ring);
46 rq->ctrl = NULL;
49 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, argument
56 rq->index = index;
57 rq->vdev = vdev;
59 rq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_RQ, index);
60 if (!rq->ctrl) {
65 vnic_rq_disable(rq);
73 vnic_rq_init_start(struct vnic_rq *rq, unsigned int cq_index, unsigned int fetch_index, unsigned int posted_index, unsigned int error_interrupt_enable, unsigned int error_interrupt_offset) argument
97 vnic_rq_init(struct vnic_rq *rq, unsigned int cq_index, unsigned int error_interrupt_enable, unsigned int error_interrupt_offset) argument
121 vnic_rq_error_out(struct vnic_rq *rq, unsigned int error) argument
126 vnic_rq_error_status(struct vnic_rq *rq) argument
131 vnic_rq_enable(struct vnic_rq *rq) argument
136 vnic_rq_disable(struct vnic_rq *rq) argument
154 vnic_rq_clean(struct vnic_rq *rq, void (*buf_clean)(struct rte_mbuf **buf)) argument
[all...]
H A Dvnic_rq.h103 static inline unsigned int vnic_rq_desc_avail(struct vnic_rq *rq) argument
106 return rq->ring.desc_avail;
109 static inline unsigned int vnic_rq_desc_used(struct vnic_rq *rq) argument
112 return rq->ring.desc_count - rq->ring.desc_avail - 1;
122 static inline int vnic_rq_fill(struct vnic_rq *rq, argument
123 int (*buf_fill)(struct vnic_rq *rq))
127 while (vnic_rq_desc_avail(rq) > 0) {
129 err = (*buf_fill)(rq);
137 static inline int vnic_rq_fill_count(struct vnic_rq *rq, argument
[all...]
/deb_dpdk/drivers/net/enic/
H A Denic_main.c83 enic_rxmbuf_queue_release(__rte_unused struct enic *enic, struct vnic_rq *rq) argument
87 if (!rq || !rq->mbuf_ring) {
88 dev_debug(enic, "Pointer to rq or mbuf_ring is NULL");
92 for (i = 0; i < rq->ring.desc_count; i++) {
93 if (rq->mbuf_ring[i]) {
94 rte_pktmbuf_free_seg(rq->mbuf_ring[i]);
95 rq->mbuf_ring[i] = NULL;
126 if (!enic->rq[i].in_use)
128 error_status = vnic_rq_error_status(&enic->rq[
301 enic_alloc_rx_queue_mbufs(struct enic *enic, struct vnic_rq *rq) argument
1186 struct vnic_rq *rq; local
[all...]
H A Denic_rxtx.c242 struct vnic_rq *rq; local
260 data_rq = &enic->rq[sop_rq->data_queue_idx];
275 /* Get the cq descriptor and extract rq info from it */
280 rq = &enic->rq[rq_num];
281 rqd_ptr = ((struct rq_enet_desc *)rq->ring.descs) + rq_idx;
284 nmb = rte_mbuf_raw_alloc(rq->mp);
294 rxmb = rq->mbuf_ring[rq_idx];
295 rq->mbuf_ring[rq_idx] = nmb;
316 (rq
[all...]
H A Denic.h140 struct vnic_rq *rq; member in struct:enic
196 static inline unsigned int enic_cq_rq(__rte_unused struct enic *enic, unsigned int rq) argument
200 * longer the same as the rq number.
202 return rq / 2;
H A Denic_res.c124 "wq/rq %d/%d mtu %d, max mtu:%d\n",
215 if (enic->rq[i].in_use)
216 vnic_rq_free(&enic->rq[i]);
231 "vNIC resources avail: wq %d rq %d cq %d intr %d\n",
H A Denic_ethdev.c160 if (!enic->rq[enic_rte_rq_idx_to_sop_idx(index)].ctrl)
251 dev_err(enic, "error in stopping rq %d\n", queue_idx);
305 (void *)&enic->rq[enic_rte_rq_idx_to_sop_idx(queue_idx)];
310 dev_err(enic, "error in allocating rq\n");
H A Denic_clsf.c387 if (!enic->rq[queue].in_use)
/deb_dpdk/drivers/net/thunderx/base/
H A Dnicvf_mbox.c310 mbx.rq.qs_num = nic->vf_id;
311 mbx.rq.rq_num = qidx;
312 mbx.rq.cfg = pf_rq_cfg->value;
374 mbx.rq.qs_num = nic->vf_id;
375 mbx.rq.rq_num = qidx;
376 drop_cfg = (struct pf_rq_drop_cfg *)&mbx.rq.cfg;
403 mbx.rq.cfg = 0;
413 mbx.rq.qs_num = nic->vf_id;
414 mbx.rq.rq_num = qidx;
415 mbx.rq
[all...]
H A Dnicvf_mbox.h211 struct rq_cfg_msg rq; member in union:nic_mbx::__anon435
/deb_dpdk/drivers/net/vmxnet3/
H A Dvmxnet3_rxtx.c206 vmxnet3_rx_queue_t *rq = rxq; local
208 if (rq != NULL) {
211 vmxnet3_rx_cmd_ring_release_mbufs(&rq->cmd_ring[i]);
215 vmxnet3_cmd_ring_release(&rq->cmd_ring[i]);
218 rte_memzone_free(rq->mz);
221 rte_free(rq);
257 vmxnet3_rx_queue_t *rq = rxq; local
264 vmxnet3_rx_cmd_ring_release_mbufs(&rq->cmd_ring[i]);
266 ring0 = &rq->cmd_ring[0];
267 ring1 = &rq
[all...]
/deb_dpdk/drivers/net/cxgbe/base/
H A Dadapter.h702 int t4_sge_eth_rxq_start(struct adapter *adap, struct sge_rspq *rq);
703 int t4_sge_eth_rxq_stop(struct adapter *adap, struct sge_rspq *rq);
/deb_dpdk/drivers/net/cxgbe/
H A Dsge.c1609 int t4_sge_eth_rxq_start(struct adapter *adap, struct sge_rspq *rq) argument
1611 struct sge_eth_rxq *rxq = container_of(rq, struct sge_eth_rxq, rspq);
1615 rq->cntxt_id, fl_id, 0xffff);
1618 int t4_sge_eth_rxq_stop(struct adapter *adap, struct sge_rspq *rq) argument
1620 struct sge_eth_rxq *rxq = container_of(rq, struct sge_eth_rxq, rspq);
1624 rq->cntxt_id, fl_id, 0xffff);
1957 static void free_rspq_fl(struct adapter *adap, struct sge_rspq *rq, argument
1963 rq->cntxt_id, fl_id, 0xffff);
1964 rq->cntxt_id = 0;
1965 rq
[all...]
H A Dcxgbe_ethdev.c628 struct sge_rspq *rq = &rxq->rspq; local
630 if (rq) {
632 (rq->eth_dev->data->dev_private);
/deb_dpdk/lib/librte_eal/linuxapp/kni/
H A Dkni_net.c587 kni_net_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) argument
/deb_dpdk/drivers/net/mlx5/
H A Dmlx5_rxq.c885 tmpl->rxq.rq_db = rwq->rq.db;
892 (uintptr_t)rwq->rq.buff;
/deb_dpdk/lib/librte_eal/linuxapp/kni/ethtool/ixgbe/
H A Dkcompat.h1387 static inline struct mii_ioctl_data *_kc_if_mii(struct ifreq *rq) argument
1389 return (struct mii_ioctl_data *) &rq->ifr_ifru;
/deb_dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/
H A Dkcompat.h1486 static inline struct mii_ioctl_data *_kc_if_mii(struct ifreq *rq) argument
1488 return (struct mii_ioctl_data *) &rq->ifr_ifru;

Completed in 32 milliseconds