Home
last modified time | relevance | path

Searched refs:swq (Results 1 – 14 of 14) sorted by relevance

/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_swq.c25 struct softnic_swq *swq; in softnic_swq_free() local
28 if (swq == NULL) in softnic_swq_free()
32 rte_ring_free(swq->r); in softnic_swq_free()
33 free(swq); in softnic_swq_free()
48 rte_ring_free(swq->r); in softnic_softnic_swq_free_keep_rxq_txq()
49 free(swq); in softnic_softnic_swq_free_keep_rxq_txq()
64 return swq; in softnic_swq_find()
101 if (swq == NULL) { in softnic_swq_create()
107 strlcpy(swq->name, name, sizeof(swq->name)); in softnic_swq_create()
108 swq->r = r; in softnic_swq_create()
[all …]
H A Dfirmware.cli8 pipeline RX port out bsz 32 swq RXQ0
14 pipeline TX port in bsz 32 swq TXQ0
H A Drte_eth_softnic.c116 struct softnic_swq *swq; in pmd_rx_queue_setup() local
124 swq = softnic_swq_create(p, in pmd_rx_queue_setup()
127 if (swq == NULL) in pmd_rx_queue_setup()
130 dev->data->rx_queues[rx_queue_id] = swq->r; in pmd_rx_queue_setup()
143 struct softnic_swq *swq; in pmd_tx_queue_setup() local
151 swq = softnic_swq_create(p, in pmd_tx_queue_setup()
154 if (swq == NULL) in pmd_tx_queue_setup()
157 dev->data->tx_queues[tx_queue_id] = swq->r; in pmd_tx_queue_setup()
H A Drte_eth_softnic_pipeline.c295 struct softnic_swq *swq; in softnic_pipeline_port_in_create() local
297 swq = softnic_swq_find(softnic, params->dev_name); in softnic_pipeline_port_in_create()
298 if (swq == NULL) in softnic_pipeline_port_in_create()
301 pp.ring.ring = swq->r; in softnic_pipeline_port_in_create()
525 struct softnic_swq *swq; in softnic_pipeline_port_out_create() local
527 swq = softnic_swq_find(softnic, params->dev_name); in softnic_pipeline_port_out_create()
528 if (swq == NULL) in softnic_pipeline_port_out_create()
531 pp.ring.ring = swq->r; in softnic_pipeline_port_out_create()
534 pp_nodrop.ring.ring = swq->r; in softnic_pipeline_port_out_create()
H A Drte_eth_softnic_cli.c163 struct softnic_swq *swq; in cmd_swq() local
182 swq = softnic_swq_create(softnic, name, &p); in cmd_swq()
183 if (swq == NULL) { in cmd_swq()
/f-stack/dpdk/examples/ip_pipeline/
H A Dswq.c22 struct swq *
25 struct swq *swq; in swq_find() local
31 if (strcmp(swq->name, name) == 0) in swq_find()
32 return swq; in swq_find()
37 struct swq *
40 struct swq *swq; in swq_create() local
62 swq = calloc(1, sizeof(struct swq)); in swq_create()
63 if (swq == NULL) { in swq_create()
69 strlcpy(swq->name, name, sizeof(swq->name)); in swq_create()
70 swq->r = r; in swq_create()
[all …]
H A Dswq.h15 struct swq { struct
16 TAILQ_ENTRY(swq) node;
21 TAILQ_HEAD(swq_list, swq); argument
26 struct swq *
34 struct swq *
H A Dpipeline.c220 struct swq *swq; in pipeline_port_in_create() local
222 swq = swq_find(params->dev_name); in pipeline_port_in_create()
223 if (swq == NULL) in pipeline_port_in_create()
226 pp.ring.ring = swq->r; in pipeline_port_in_create()
476 struct swq *swq; in pipeline_port_out_create() local
478 swq = swq_find(params->dev_name); in pipeline_port_out_create()
479 if (swq == NULL) in pipeline_port_out_create()
482 pp.ring.ring = swq->r; in pipeline_port_out_create()
485 pp_nodrop.ring.ring = swq->r; in pipeline_port_out_create()
H A Dmeson.build26 'swq.c',
H A DMakefile17 SRCS-y += swq.c
H A Dcli.c354 struct swq *swq; in cmd_swq() local
383 swq = swq_create(name, &p); in cmd_swq()
384 if (swq == NULL) { in cmd_swq()
/f-stack/dpdk/doc/guides/nics/
H A Dsoftnic.rst144 pipeline RX port out bsz 32 swq RXQ0
149 pipeline TX port in bsz 32 swq TXQ0
239 pipeline RX port out bsz 32 swq RXQ0 (Soft NIC rx pipeline output port)
240 pipeline TX port in bsz 32 swq TXQ0 (Soft NIC tx pipeline input port)
339 pipeline RX port out bsz 32 swq RXQ0
340 pipeline RX port out bsz 32 swq RXQ1
349 pipeline TX port in bsz 32 swq TXQ0
350 pipeline TX port in bsz 32 swq TXQ1
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dip_pipeline.rst242 swq <swq_name> size <size> cpu <cpu_id>
366 | swq <swq_name>
379 | swq <swq_name>
/f-stack/dpdk/doc/guides/rel_notes/
H A Drelease_16_04.rst421 Fixed core dump issue on txq and swq when dropless is set to yes.