[PATCH] net/virtio: fix duplicated rxq xstats
    Maxime Coquelin 
    maxime.coquelin at redhat.com
       
    Tue Feb  6 15:56:55 CET 2024
    
    
  
On 11/24/23 14:52, edwin.brossette at 6wind.com wrote:
> From: Edwin Brossette <edwin.brossette at 6wind.com>
> 
> 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 f30e69b41f94 ("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: f30e69b41f94 ("ethdev: add device flag to bypass auto-filled queue xstats")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Edwin Brossette <edwin.brossette at 6wind.com>
> ---
>   drivers/net/virtio/virtio_ethdev.c | 2 --
>   1 file changed, 2 deletions(-)
> 
Applied to next-virtio tree.
Thanks,
Maxime
    
    
More information about the dev
mailing list