net :mana :Add remaining GDMA stats for MANA to ethtool
authorShradha Gupta <shradhagupta@linux.microsoft.com>
Fri, 24 Nov 2023 13:02:30 +0000 (05:02 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 27 Nov 2023 11:54:33 +0000 (12:54 +0100)
commite1df5202e879bce09845ac62bae30206e1edfb80
tree067f4b03107136cd8745448106b1fabf38677bc6
parentdba1b8a7ab6853a84bf3afdbeac1c2f2370d3444
net :mana :Add remaining GDMA stats for MANA to ethtool

Extend performance counter stats in 'ethtool -S <interface>'
for MANA VF to include all GDMA stat counter.

Tested-on: Ubuntu22
Testcases:
1. LISA testcase:
PERF-NETWORK-TCP-THROUGHPUT-MULTICONNECTION-NTTTCP-Synthetic
2. LISA testcase:
PERF-NETWORK-TCP-THROUGHPUT-MULTICONNECTION-NTTTCP-SRIOV

Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Link: https://lore.kernel.org/r/1700830950-803-1-git-send-email-shradhagupta@linux.microsoft.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microsoft/mana/mana_en.c
drivers/net/ethernet/microsoft/mana/mana_ethtool.c
include/net/mana/mana.h