Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_txr.c120 struct bnxt_sw_tx_bd *tx_buf; in bnxt_start_xmit() local
172 tx_buf->mbuf = tx_pkt; in bnxt_start_xmit()
173 tx_buf->nr_bds = nr_bds; in bnxt_start_xmit()
204 tx_buf->mbuf->vlan_tci; in bnxt_start_xmit()
323 tx_buf->mbuf = m_seg; in bnxt_start_xmit()
353 struct bnxt_sw_tx_bd *tx_buf; in bnxt_tx_cmp_fast() local
357 nr_bds = tx_buf->nr_bds; in bnxt_tx_cmp_fast()
359 if (tx_buf->mbuf) { in bnxt_tx_cmp_fast()
362 tx_buf->mbuf = NULL; in bnxt_tx_cmp_fast()
389 mbuf = tx_buf->mbuf; in bnxt_tx_cmp()
[all …]
H A Dbnxt_rxtx_vec_common.h112 struct bnxt_sw_tx_bd *tx_buf; in bnxt_tx_cmp_vec_fast() local
114 tx_buf = &txr->tx_buf_ring[cons]; in bnxt_tx_cmp_vec_fast()
116 free[blk++] = tx_buf->mbuf; in bnxt_tx_cmp_vec_fast()
117 tx_buf->mbuf = NULL; in bnxt_tx_cmp_vec_fast()
135 struct bnxt_sw_tx_bd *tx_buf; in bnxt_tx_cmp_vec() local
138 tx_buf = &txr->tx_buf_ring[cons]; in bnxt_tx_cmp_vec()
140 mbuf = rte_pktmbuf_prefree_seg(tx_buf->mbuf); in bnxt_tx_cmp_vec()
143 tx_buf->mbuf = NULL; in bnxt_tx_cmp_vec()
H A Dbnxt_rxtx_vec_sse.c334 struct bnxt_sw_tx_bd *tx_buf) in bnxt_xmit_one() argument
338 tx_buf->mbuf = mbuf; in bnxt_xmit_one()
339 tx_buf->nr_bds = 1; in bnxt_xmit_one()
356 struct bnxt_sw_tx_bd *tx_buf; in bnxt_xmit_fixed_burst_vec() local
360 tx_buf = &txr->tx_buf_ring[tx_prod]; in bnxt_xmit_fixed_burst_vec()
378 bnxt_xmit_one(tx_pkts[0], txbd++, tx_buf++); in bnxt_xmit_fixed_burst_vec()
379 bnxt_xmit_one(tx_pkts[1], txbd++, tx_buf++); in bnxt_xmit_fixed_burst_vec()
380 bnxt_xmit_one(tx_pkts[2], txbd++, tx_buf++); in bnxt_xmit_fixed_burst_vec()
381 bnxt_xmit_one(tx_pkts[3], txbd++, tx_buf++); in bnxt_xmit_fixed_burst_vec()
388 bnxt_xmit_one(tx_pkts[0], txbd++, tx_buf++); in bnxt_xmit_fixed_burst_vec()
H A Dbnxt_rxtx_vec_neon.c359 struct bnxt_sw_tx_bd *tx_buf; in bnxt_xmit_fixed_burst_vec() local
373 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_xmit_fixed_burst_vec()
374 tx_buf->mbuf = tx_mbuf; in bnxt_xmit_fixed_burst_vec()
375 tx_buf->nr_bds = 1; in bnxt_xmit_fixed_burst_vec()
H A Dbnxt_ethdev.c2970 struct bnxt_sw_tx_bd *tx_buf; in bnxt_tx_descriptor_status_op() local
2999 tx_buf = &txr->tx_buf_ring[cons]; in bnxt_tx_descriptor_status_op()
3000 if (tx_buf->mbuf == NULL) in bnxt_tx_descriptor_status_op()
/f-stack/dpdk/lib/librte_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.c123 struct rte_mbuf *tx_buf[2 * RTE_PORT_IN_BURST_SIZE_MAX]; member
168 nb_tx = rte_kni_tx_burst(p->kni, p->tx_buf, p->tx_buf_count); in send_burst()
172 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst()
183 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_kni_writer_tx()
225 p->tx_buf[tx_buf_count++] = pkt; in rte_port_kni_writer_tx_bulk()
299 struct rte_mbuf *tx_buf[2 * RTE_PORT_IN_BURST_SIZE_MAX]; member
362 p->tx_buf + nb_tx, in send_burst_nodrop()
375 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst_nodrop()
386 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_kni_writer_nodrop_tx()
426 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.c123 struct rte_mbuf *tx_buf[2 * RTE_PORT_IN_BURST_SIZE_MAX]; member
169 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_sched_writer_tx()
174 nb_tx = rte_sched_port_enqueue(p->sched, p->tx_buf, p->tx_buf_count); in rte_port_sched_writer_tx()
198 nb_tx = rte_sched_port_enqueue(p->sched, p->tx_buf, in rte_port_sched_writer_tx_bulk()
212 p->tx_buf[tx_buf_count++] = pkt; in rte_port_sched_writer_tx_bulk()
221 nb_tx = rte_sched_port_enqueue(p->sched, p->tx_buf, in rte_port_sched_writer_tx_bulk()
239 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.c53 struct rte_mbuf *tx_buf[RTE_PORT_IN_BURST_SIZE_MAX]; member
140 nb_tx = rte_ring_sp_enqueue_burst(p->ring, (void **)p->tx_buf, in send_burst()
145 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst()
164 p->tx_buf[p->tx_buf_count++] = pkt; in process_ipv4()
176 p->tx_buf[p->tx_buf_count++] = mo; in process_ipv4()
197 p->tx_buf[p->tx_buf_count++] = pkt; in process_ipv6()
209 p->tx_buf[p->tx_buf_count++] = mo; in process_ipv6()
/f-stack/freebsd/mips/mediatek/
H A Dmtk_spi_v2.c231 uint8_t *buf, byte, *tx_buf; in mtk_spi_transfer() local
246 tx_buf = (uint8_t *)(cmd->tx_cmd); in mtk_spi_transfer()
249 switch(tx_buf[0]) { in mtk_spi_transfer()
281 tx_buf = (uint8_t *)(cmd->tx_cmd); in mtk_spi_transfer()
286 byte = tx_buf[i]; in mtk_spi_transfer()
H A Dmtk_spi_v1.c250 uint8_t *buf, byte, *tx_buf; in mtk_spi_transfer() local
301 tx_buf = (uint8_t *)(cmd->tx_cmd); in mtk_spi_transfer()
304 switch(tx_buf[0]) { in mtk_spi_transfer()
337 tx_buf = (uint8_t *)(cmd->tx_cmd); in mtk_spi_transfer()
344 byte = tx_buf[i]; in mtk_spi_transfer()
/f-stack/dpdk/lib/librte_eventdev/
H A Drte_event_eth_tx_adapter.c94 struct rte_eth_dev_tx_buffer *tx_buf; member
540 nb_tx += rte_eth_tx_buffer(port, queue, tqi->tx_buf, m); in txa_service_tx()
600 tqi->tx_buf); in txa_service_func()
789 tqi->tx_buf = tb; in txa_service_queue_add()
849 tb = tqi->tx_buf; in txa_service_queue_del()
851 tqi->tx_buf = NULL; in txa_service_queue_del()
/f-stack/dpdk/drivers/net/axgbe/
H A Daxgbe_i2c.c111 cmd = *state->tx_buf++; in axgbe_i2c_write()
244 state->tx_buf = (unsigned char *)op->buf; in axgbe_i2c_xfer()
H A Daxgbe_ethdev.h264 unsigned char *tx_buf; member
/f-stack/dpdk/drivers/net/ena/
H A Dena_ethdev.c782 struct ena_tx_buffer *tx_buf = &ring->tx_buffer_info[i]; in ena_tx_queue_release_bufs() local
784 if (tx_buf->mbuf) in ena_tx_queue_release_bufs()
785 rte_pktmbuf_free(tx_buf->mbuf); in ena_tx_queue_release_bufs()