Home
last modified time | relevance | path

Searched refs:tx_buf (Results 1 – 15 of 15) sorted by relevance

/dpdk/drivers/net/bnxt/
H A Dbnxt_rxtx_vec_avx2.c420 struct rte_mbuf **tx_buf) in bnxt_xmit_one() argument
425 *tx_buf = mbuf; in bnxt_xmit_one()
442 struct rte_mbuf **tx_buf; in bnxt_xmit_fixed_burst_vec() local
447 tx_buf = &txr->tx_buf_ring[tx_prod]; in bnxt_xmit_fixed_burst_vec()
490 _mm_storeu_si128((void *)tx_buf, tmp); in bnxt_xmit_fixed_burst_vec()
493 dsc0_hi = tx_buf[0]->buf_iova + tx_buf[0]->data_off; in bnxt_xmit_fixed_burst_vec()
494 dsc0_lo = (tx_buf[0]->data_len << 16) | in bnxt_xmit_fixed_burst_vec()
498 dsc1_hi = tx_buf[1]->buf_iova + tx_buf[1]->data_off; in bnxt_xmit_fixed_burst_vec()
505 dsc2_hi = tx_buf[2]->buf_iova + tx_buf[2]->data_off; in bnxt_xmit_fixed_burst_vec()
510 dsc3_hi = tx_buf[3]->buf_iova + tx_buf[3]->data_off; in bnxt_xmit_fixed_burst_vec()
[all …]
H A Dbnxt_txr.c141 struct rte_mbuf **tx_buf; in bnxt_start_xmit() local
186 *tx_buf = tx_pkt; in bnxt_start_xmit()
338 *tx_buf = m_seg; in bnxt_start_xmit()
369 struct rte_mbuf **tx_buf; in bnxt_tx_cmp_fast() local
373 nr_bds = (*tx_buf)->nb_segs + in bnxt_tx_cmp_fast()
376 if (*tx_buf) { in bnxt_tx_cmp_fast()
378 free[blk++] = *tx_buf; in bnxt_tx_cmp_fast()
379 *tx_buf = NULL; in bnxt_tx_cmp_fast()
403 struct rte_mbuf **tx_buf; in bnxt_tx_cmp() local
410 mbuf = *tx_buf; in bnxt_tx_cmp()
[all …]
H A Dbnxt_rxtx_vec_sse.c347 struct rte_mbuf **tx_buf) in bnxt_xmit_one() argument
351 *tx_buf = mbuf; in bnxt_xmit_one()
368 struct rte_mbuf **tx_buf; in bnxt_xmit_fixed_burst_vec() local
373 tx_buf = &txr->tx_buf_ring[tx_prod]; in bnxt_xmit_fixed_burst_vec()
391 bnxt_xmit_one(tx_pkts[0], txbd++, tx_buf++); in bnxt_xmit_fixed_burst_vec()
392 bnxt_xmit_one(tx_pkts[1], txbd++, tx_buf++); in bnxt_xmit_fixed_burst_vec()
393 bnxt_xmit_one(tx_pkts[2], txbd++, tx_buf++); in bnxt_xmit_fixed_burst_vec()
394 bnxt_xmit_one(tx_pkts[3], txbd++, tx_buf++); in bnxt_xmit_fixed_burst_vec()
401 bnxt_xmit_one(tx_pkts[0], txbd++, tx_buf++); in bnxt_xmit_fixed_burst_vec()
H A Dbnxt_rxtx_vec_neon.c382 struct rte_mbuf **tx_buf; in bnxt_xmit_fixed_burst_vec() local
397 tx_buf = &txr->tx_buf_ring[tx_prod]; in bnxt_xmit_fixed_burst_vec()
398 *tx_buf = tx_mbuf; in bnxt_xmit_fixed_burst_vec()
/dpdk/lib/port/
H A Drte_port_ring.c221 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst()
236 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst_mp()
246 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_ring_writer_tx()
259 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_ring_multi_writer_tx()
312 p->tx_buf[tx_buf_count++] = pkt; in rte_port_ring_writer_tx_bulk_internal()
503 (void **) (p->tx_buf + nb_tx), in send_burst_nodrop()
516 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst_nodrop()
537 (void **) (p->tx_buf + nb_tx), in send_burst_mp_nodrop()
561 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_ring_writer_nodrop_tx()
575 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_ring_multi_writer_nodrop_tx()
[all …]
H A Drte_port_kni.c122 struct rte_mbuf *tx_buf[2 * RTE_PORT_IN_BURST_SIZE_MAX]; member
167 nb_tx = rte_kni_tx_burst(p->kni, p->tx_buf, p->tx_buf_count); in send_burst()
171 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst()
182 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_kni_writer_tx()
224 p->tx_buf[tx_buf_count++] = pkt; in rte_port_kni_writer_tx_bulk()
298 struct rte_mbuf *tx_buf[2 * RTE_PORT_IN_BURST_SIZE_MAX]; member
361 p->tx_buf + nb_tx, in send_burst_nodrop()
374 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst_nodrop()
385 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_kni_writer_nodrop_tx()
425 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_kni_writer_nodrop_tx_bulk()
[all …]
H A Drte_port_sym_crypto.c200 p->tx_buf, p->tx_buf_count); in send_burst()
205 rte_pktmbuf_free(p->tx_buf[nb_tx]->sym->m_src); in send_burst()
216 p->tx_buf[p->tx_buf_count++] = (struct rte_crypto_op *) in rte_port_sym_crypto_writer_tx()
244 p->tx_buf[p->tx_buf_count++] = (struct rte_crypto_op *) in rte_port_sym_crypto_writer_tx_bulk()
256 p->tx_buf[tx_buf_count++] = (struct rte_crypto_op *) in rte_port_sym_crypto_writer_tx_bulk()
392 p->tx_buf, p->tx_buf_count); in send_burst_nodrop()
402 p->queue_id, p->tx_buf + nb_tx, in send_burst_nodrop()
416 rte_pktmbuf_free(p->tx_buf[nb_tx]->sym->m_src); in send_burst_nodrop()
427 p->tx_buf[p->tx_buf_count++] = (struct rte_crypto_op *) in rte_port_sym_crypto_writer_nodrop_tx()
456 p->tx_buf[p->tx_buf_count++] = (struct rte_crypto_op *) in rte_port_sym_crypto_writer_nodrop_tx_bulk()
[all …]
H A Drte_port_fd.c156 struct rte_mbuf *tx_buf[2 * RTE_PORT_IN_BURST_SIZE_MAX]; member
200 struct rte_mbuf *pkt = p->tx_buf[i]; in send_burst()
213 rte_pktmbuf_free(p->tx_buf[i]); in send_burst()
224 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_fd_writer_tx()
246 p->tx_buf[tx_buf_count++] = pkts[i]; in rte_port_fd_writer_tx_bulk()
254 p->tx_buf[tx_buf_count++] = pkt; in rte_port_fd_writer_tx_bulk()
382 struct rte_mbuf *pkt = p->tx_buf[i]; in send_burst_nodrop()
398 rte_pktmbuf_free(p->tx_buf[i]); in send_burst_nodrop()
409 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_fd_writer_nodrop_tx()
431 p->tx_buf[tx_buf_count++] = pkts[i]; in rte_port_fd_writer_nodrop_tx_bulk()
[all …]
H A Drte_port_ethdev.c125 struct rte_mbuf *tx_buf[2 * RTE_PORT_IN_BURST_SIZE_MAX]; member
173 p->tx_buf, p->tx_buf_count); in send_burst()
177 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst()
188 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_ethdev_writer_tx()
231 p->tx_buf[tx_buf_count++] = pkt; in rte_port_ethdev_writer_tx_bulk()
305 struct rte_mbuf *tx_buf[2 * RTE_PORT_IN_BURST_SIZE_MAX]; member
371 p->tx_buf + nb_tx, p->tx_buf_count - nb_tx); in send_burst_nodrop()
383 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst_nodrop()
394 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_ethdev_writer_nodrop_tx()
435 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_ethdev_writer_nodrop_tx_bulk()
[all …]
H A Drte_port_sched.c122 struct rte_mbuf *tx_buf[2 * RTE_PORT_IN_BURST_SIZE_MAX]; member
168 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_sched_writer_tx()
173 nb_tx = rte_sched_port_enqueue(p->sched, p->tx_buf, p->tx_buf_count); in rte_port_sched_writer_tx()
197 nb_tx = rte_sched_port_enqueue(p->sched, p->tx_buf, in rte_port_sched_writer_tx_bulk()
211 p->tx_buf[tx_buf_count++] = pkt; in rte_port_sched_writer_tx_bulk()
220 nb_tx = rte_sched_port_enqueue(p->sched, p->tx_buf, in rte_port_sched_writer_tx_bulk()
238 nb_tx = rte_sched_port_enqueue(p->sched, p->tx_buf, p->tx_buf_count); in rte_port_sched_writer_flush()
H A Drte_port_ras.c52 struct rte_mbuf *tx_buf[RTE_PORT_IN_BURST_SIZE_MAX]; member
139 nb_tx = rte_ring_sp_enqueue_burst(p->ring, (void **)p->tx_buf, in send_burst()
144 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst()
163 p->tx_buf[p->tx_buf_count++] = pkt; in process_ipv4()
175 p->tx_buf[p->tx_buf_count++] = mo; in process_ipv4()
196 p->tx_buf[p->tx_buf_count++] = pkt; in process_ipv6()
208 p->tx_buf[p->tx_buf_count++] = mo; in process_ipv6()
/dpdk/lib/eventdev/
H A Drte_event_eth_tx_adapter.c94 struct rte_eth_dev_tx_buffer *tx_buf; member
532 nb_tx += rte_eth_tx_buffer(port, queue, tqi->tx_buf, in txa_process_event_vector()
544 nb_tx += rte_eth_tx_buffer(port, queue, tqi->tx_buf, in txa_process_event_vector()
582 nb_tx += rte_eth_tx_buffer(port, queue, tqi->tx_buf, m); in txa_service_tx()
645 tqi->tx_buf); in txa_service_func()
834 tqi->tx_buf = tb; in txa_service_queue_add()
898 tb = tqi->tx_buf; in txa_service_queue_del()
900 tqi->tx_buf = NULL; in txa_service_queue_del()
/dpdk/drivers/net/axgbe/
H A Daxgbe_i2c.c111 cmd = *state->tx_buf++; in axgbe_i2c_write()
245 state->tx_buf = (unsigned char *)op->buf; in axgbe_i2c_xfer()
H A Daxgbe_ethdev.h269 unsigned char *tx_buf; member
/dpdk/drivers/net/ena/
H A Dena_ethdev.c913 struct ena_tx_buffer *tx_buf = &ring->tx_buffer_info[i]; in ena_tx_queue_release_bufs() local
915 if (tx_buf->mbuf) { in ena_tx_queue_release_bufs()
916 rte_pktmbuf_free(tx_buf->mbuf); in ena_tx_queue_release_bufs()
917 tx_buf->mbuf = NULL; in ena_tx_queue_release_bufs()
1825 struct ena_tx_buffer *tx_buf; in check_for_tx_completion_in_queue() local
1833 tx_buf = &tx_ring->tx_buffer_info[i]; in check_for_tx_completion_in_queue()
1834 timestamp = tx_buf->timestamp; in check_for_tx_completion_in_queue()
1841 if (unlikely(!tx_buf->print_once)) { in check_for_tx_completion_in_queue()
1847 tx_buf->print_once = true; in check_for_tx_completion_in_queue()