]> git.droids-corp.org - dpdk.git/commit
examples/dma: fix Tx drop statistics
authorChengwen Feng <fengchengwen@huawei.com>
Sun, 24 Apr 2022 06:07:40 +0000 (14:07 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 6 Jun 2022 21:31:33 +0000 (23:31 +0200)
commit7d3cb76fba200e1649842319facb932d9a05467d
treed807855011394c9c34d1f2142e83f71b5f630cfb
parente0e95de2be21f05b0a7beb0e63ef969337b60a40
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>
examples/dma/dmafwd.c