| bebbf072 | 24-Apr-2022 |
Chengwen Feng <fengchengwen@huawei.com> |
examples/dma: add force minimal copy size parameter
This patch adds force minimal copy size parameter (-m/--force-min-copy-size), so when do copy by CPU or DMA, the real copy size will be the maximu
examples/dma: add force minimal copy size parameter
This patch adds force minimal copy size parameter (-m/--force-min-copy-size), so when do copy by CPU or DMA, the real copy size will be the maximum of mbuf's data_len and this parameter.
This parameter was designed to compare the performance between CPU copy and DMA copy. User could send small packets with a high rate to drive the performance test.
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Kevin Laatz <kevin.laatz@intel.com>
show more ...
|
| 7d3cb76f | 24-Apr-2022 |
Chengwen Feng <fengchengwen@huawei.com> |
examples/dma: fix Tx drop statistics
The Tx drop statistic was designed to be collected by rte_eth_dev_tx_buffer mechanism, but the application uses rte_eth_tx_burst to send packets and this lead th
examples/dma: fix Tx drop statistics
The Tx drop statistic was designed to be collected by rte_eth_dev_tx_buffer mechanism, but the application uses rte_eth_tx_burst to send packets and this lead the Tx drop statistic was not collected.
This patch removes rte_eth_dev_tx_buffer mechanism to fix the problem.
Fixes: 632bcd9b5d4f ("examples/ioat: print statistics") Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Kevin Laatz <kevin.laatz@intel.com>
show more ...
|