Bug 1377

Summary: per queue counters are not working on Intel XL710 based SRIOV VFs using iavf pmd
Product: DPDK Reporter: Sahithi Singam (sahithi.singam)
Component: ethdevAssignee: dev
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: 22.11   
Target Milestone: ---   
Hardware: x86   
OS: Linux   

Description Sahithi Singam 2024-02-02 10:24:41 CET
Per queue counters are not working on Intel XL710 SRIOV VFs using iavf pmd in both DPDK 21.11 and 22.11 version. 

But per queue counters are populated when the same device is managed by iavf kernel module. 
==============================
"/sys/bus/pci/devices # ethtool -S eth1
NIC statistics:
     rx_bytes: 2880
     rx_unicast: 0
     rx_multicast: 0
     rx_broadcast: 45
     rx_discards: 0
     rx_unknown_protocol: 0
     tx_bytes: 0
     tx_unicast: 0
     tx_multicast: 0
     tx_broadcast: 0
     tx_discards: 0
     tx_errors: 0
     tx-0.packets: 3
     tx-0.bytes: 266
     rx-0.packets: 0
     rx-0.bytes: 0
     tx-1.packets: 0
     tx-1.bytes: 0
     rx-1.packets: 0
     rx-1.bytes: 0
     tx-2.packets: 0
     tx-2.bytes: 0
     rx-2.packets: 47
     rx-2.bytes: 2820
     tx-3.packets: 2
     tx-3.bytes: 180
     rx-3.packets: 0
     rx-3.bytes: 0

/sys/bus/pci/devices # ethtool -i eth1
driver: iavf
version: 5.15.0
firmware-version: N/A
expansion-rom-version:
bus-info: 0000:00:0a.0
supports-statistics: yes"

"/sys/bus/pci/devices # lspci -n -s 00:0a.0
00:0a.0 0200: 8086:154c (rev 01)"
=============================================

We also observed similar issue with PF devices of XL710 using i40e pmd and on Intel 810-C series NICS using ice pmd .

Can someone please confirm whether this is DPDK pmd limitation or a NIC specific limitation ? If [yes], can you also please point to the relevant documentation .