Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/virtio: remove duplicate queue xstats
The flag RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS was temporarily set while moving queue stats from 'struct rte_eth_stats' to the individual PMDs, as explained in commit f30e69b ("ethdev: add device flag to bypass auto-filled queue xstats"). This flag was added so every pmd would keep its original behavior until the change was implemented. However, this flag was not removed afterwards in the virtio PMD and as a result, some queue stats are displayed twice when trying to get them: once in lib_rte_ethdev, and a second time in the virtio PMD. Remove this flag so stats are printed only once. Fixes: f30e69b ("ethdev: add device flag to bypass auto-filled queue xstats") Cc: stable@dpdk.org Signed-off-by: Edwin Brossette <edwin.brossette@6wind.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@amd.com>
- Loading branch information