| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_txr.c | 120 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 D | bnxt_rxtx_vec_common.h | 112 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 D | bnxt_rxtx_vec_sse.c | 334 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 D | bnxt_rxtx_vec_neon.c | 359 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 D | bnxt_ethdev.c | 2970 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 D | rte_port_ring.c | 221 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 D | rte_port_kni.c | 123 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 D | rte_port_sym_crypto.c | 200 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 D | rte_port_fd.c | 156 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 D | rte_port_ethdev.c | 125 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 D | rte_port_sched.c | 123 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 D | rte_port_ras.c | 53 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 D | mtk_spi_v2.c | 231 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 D | mtk_spi_v1.c | 250 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 D | rte_event_eth_tx_adapter.c | 94 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 D | axgbe_i2c.c | 111 cmd = *state->tx_buf++; in axgbe_i2c_write() 244 state->tx_buf = (unsigned char *)op->buf; in axgbe_i2c_xfer()
|
| H A D | axgbe_ethdev.h | 264 unsigned char *tx_buf; member
|
| /f-stack/dpdk/drivers/net/ena/ |
| H A D | ena_ethdev.c | 782 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()
|