Home
last modified time | relevance | path

Searched refs:pbuf (Results 1 – 11 of 11) sorted by relevance

/dpdk/app/test/
H A Dsample_packet_forward.c98 test_get_mbuf_from_pool(struct rte_mempool **mp, struct rte_mbuf **pbuf, in test_get_mbuf_from_pool() argument
106 if (rte_pktmbuf_alloc_bulk(*mp, pbuf, NUM_PACKETS) != 0) { in test_get_mbuf_from_pool()
116 test_put_mbuf_to_pool(struct rte_mempool *mp, struct rte_mbuf **pbuf) in test_put_mbuf_to_pool() argument
121 rte_pktmbuf_free(pbuf[itr]); in test_put_mbuf_to_pool()
127 test_packet_forward(struct rte_mbuf **pbuf, uint16_t portid, uint16_t queue_id) in test_packet_forward() argument
130 if (rte_eth_tx_burst(portid, queue_id, pbuf, NUM_PACKETS) in test_packet_forward()
136 if (rte_eth_rx_burst(portid, queue_id, pbuf, NUM_PACKETS) in test_packet_forward()
H A Dtest_pmd_ring.c135 struct rte_mbuf buf, *pbuf = &buf; in test_get_stats() local
150 if (rte_eth_tx_burst(port, 0, &pbuf, 1) != 1) { in test_get_stats()
155 if (rte_eth_rx_burst(port, 0, &pbuf, 1) != 1) { in test_get_stats()
174 struct rte_mbuf buf, *pbuf = &buf; in test_stats_reset() local
190 if (rte_eth_tx_burst(port, 0, &pbuf, 1) != 1) { in test_stats_reset()
195 if (rte_eth_rx_burst(port, 0, &pbuf, 1) != 1) { in test_stats_reset()
226 struct rte_mbuf buf, *pbuf = &buf; in test_pmd_ring_pair_create_attach() local
286 if (rte_eth_tx_burst(rxtx_portd, 0, &pbuf, 1) != 1) { in test_pmd_ring_pair_create_attach()
291 if (rte_eth_rx_burst(rxtx_porte, 0, &pbuf, 1) != 1) { in test_pmd_ring_pair_create_attach()
320 if (rte_eth_tx_burst(rxtx_porte, 0, &pbuf, 1) != 1) { in test_pmd_ring_pair_create_attach()
[all …]
H A Dsample_packet_forward.h31 int test_packet_forward(struct rte_mbuf **pbuf, uint16_t portid,
35 int test_get_mbuf_from_pool(struct rte_mempool **mp, struct rte_mbuf **pbuf,
42 void test_put_mbuf_to_pool(struct rte_mempool *mp, struct rte_mbuf **pbuf);
H A Dtest_bitratestats.c155 struct rte_mbuf *pbuf[BIT_NUM_PACKETS] = { }; in test_bit_packet_forward() local
158 ret = test_get_mbuf_from_pool(&mp, pbuf, poolname); in test_bit_packet_forward()
170 ret = test_packet_forward(pbuf, portid, QUEUE_ID); in test_bit_packet_forward()
175 test_put_mbuf_to_pool(mp, pbuf); in test_bit_packet_forward()
H A Dtest_pdump.c143 struct rte_mbuf *pbuf[NUM_PACKETS] = { }; in send_pkts() local
147 ret = test_get_mbuf_from_pool(&mp, pbuf, poolname); in send_pkts()
157 ret = test_packet_forward(pbuf, portid, QUEUE_ID); in send_pkts()
163 test_put_mbuf_to_pool(mp, pbuf); in send_pkts()
H A Dtest_latencystats.c153 struct rte_mbuf *pbuf[LATENCY_NUM_PACKETS] = { }; in test_latency_packet_forward() local
157 ret = test_get_mbuf_from_pool(&mp, pbuf, poolname); in test_latency_packet_forward()
169 ret = test_packet_forward(pbuf, portid, QUEUE_ID); in test_latency_packet_forward()
174 test_put_mbuf_to_pool(mp, pbuf); in test_latency_packet_forward()
/dpdk/drivers/net/af_packet/
H A Drte_eth_af_packet.c118 uint8_t *pbuf; in eth_af_packet_rx() local
146 pbuf = (uint8_t *) ppd + ppd->tp_mac; in eth_af_packet_rx()
147 memcpy(rte_pktmbuf_mtod(mbuf, void *), pbuf, rte_pktmbuf_data_len(mbuf)); in eth_af_packet_rx()
203 uint8_t *pbuf; in eth_af_packet_tx() local
267 pbuf = (uint8_t *) ppd + TPACKET2_HDRLEN - in eth_af_packet_tx()
273 memcpy(pbuf, rte_pktmbuf_mtod(tmp_mbuf, void*), data_len); in eth_af_packet_tx()
274 pbuf += data_len; in eth_af_packet_tx()
/dpdk/drivers/compress/mlx5/
H A Dmlx5_compress.c464 dseg->pbuf = rte_cpu_to_be_64(addr); in mlx5_compress_dseg_set()
/dpdk/drivers/crypto/mlx5/
H A Dmlx5_crypto.c326 klm->pbuf = rte_cpu_to_be_64(addr); in mlx5_crypto_klm_set()
/dpdk/drivers/net/mlx5/
H A Dmlx5_tx.h1302 dseg->pbuf = rte_cpu_to_be_64((uintptr_t)buf); in mlx5_tx_dseg_ptr()
1338 dseg->pbuf = rte_cpu_to_be_64((uintptr_t)buf); in mlx5_tx_dseg_iptr()
/dpdk/drivers/common/mlx5/
H A Dmlx5_prm.h331 uint64_t pbuf; member