[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231011091906.70486-1-jiawenwu@trustnetic.com>
Date: Wed, 11 Oct 2023 17:19:03 +0800
From: Jiawen Wu <jiawenwu@...stnetic.com>
To: netdev@...r.kernel.org,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
andrew@...n.ch
Cc: mengyuanlou@...-swift.com,
Jiawen Wu <jiawenwu@...stnetic.com>
Subject: [PATCH net-next v3 0/3] Wangxun ethtool stats
Support to show ethtool stats for txgbe/ngbe.
v2 -> v3:
- remove standard netdev statistics
- move some stats to the right ethtool_ops
- remove test strings
v1 -> v2:
- change struct wx_stats member types
- use ethtool_sprintf()
Jiawen Wu (3):
net: libwx: support hardware statistics
net: txgbe: add ethtool stats support
net: ngbe: add ethtool stats support
.../net/ethernet/wangxun/libwx/wx_ethtool.c | 169 ++++++++++++++++++
.../net/ethernet/wangxun/libwx/wx_ethtool.h | 8 +
drivers/net/ethernet/wangxun/libwx/wx_hw.c | 99 ++++++++++
drivers/net/ethernet/wangxun/libwx/wx_hw.h | 2 +
drivers/net/ethernet/wangxun/libwx/wx_lib.c | 20 ++-
drivers/net/ethernet/wangxun/libwx/wx_type.h | 81 +++++++++
.../net/ethernet/wangxun/ngbe/ngbe_ethtool.c | 5 +
drivers/net/ethernet/wangxun/ngbe/ngbe_hw.c | 2 +
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c | 2 +
.../ethernet/wangxun/txgbe/txgbe_ethtool.c | 5 +
drivers/net/ethernet/wangxun/txgbe/txgbe_hw.c | 2 +
.../net/ethernet/wangxun/txgbe/txgbe_main.c | 2 +
12 files changed, 395 insertions(+), 2 deletions(-)
--
2.27.0
Powered by blists - more mailing lists