[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240827205904.1944066-1-mohsin.bashr@gmail.com>
Date: Tue, 27 Aug 2024 13:59:02 -0700
From: Mohsin Bashir <mohsin.bashr@...il.com>
To: netdev@...r.kernel.org
Cc: alexanderduyck@...com,
kuba@...nel.org,
andrew@...n.ch,
davem@...emloft.net,
edumazet@...gle.com,
pabeni@...hat.com,
kernel-team@...a.com,
sanmanpradhan@...a.com,
sdf@...ichev.me,
jdamato@...tly.com,
mohsin.bashr@...il.com
Subject: [PATCH net-next v2 0/2] eth: Add basic ethtool support for fbnic
This patch series adds basic ethtool support for fbnic. Specifically,
the two patches focus on the following two features respectively:
1: Enable 'ethtool -i <dev>' to provide driver, firmware and bus information.
2: Provide mac group stats.
Changes since v1:
- Update the emptiness check for firmware version commit string
- Rebase the patch series to the latest
- Add cover letter
v1: https://lore.kernel.org/netdev/20240807002445.3833895-1-mohsin.bashr@gmail.com
Thanks, Mohsin Bashir
-------
drivers/net/ethernet/meta/fbnic/Makefile | 2 +
drivers/net/ethernet/meta/fbnic/fbnic.h | 7 ++
drivers/net/ethernet/meta/fbnic/fbnic_csr.h | 37 +++++++++
.../net/ethernet/meta/fbnic/fbnic_ethtool.c | 75 +++++++++++++++++++
drivers/net/ethernet/meta/fbnic/fbnic_fw.c | 13 ++++
drivers/net/ethernet/meta/fbnic/fbnic_fw.h | 6 +-
.../net/ethernet/meta/fbnic/fbnic_hw_stats.c | 27 +++++++
.../net/ethernet/meta/fbnic/fbnic_hw_stats.h | 40 ++++++++++
drivers/net/ethernet/meta/fbnic/fbnic_mac.c | 50 +++++++++++++
drivers/net/ethernet/meta/fbnic/fbnic_mac.h | 3 +
.../net/ethernet/meta/fbnic/fbnic_netdev.c | 2 +
.../net/ethernet/meta/fbnic/fbnic_netdev.h | 1 +
12 files changed, 260 insertions(+), 3 deletions(-)
create mode 100644 drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
create mode 100644 drivers/net/ethernet/meta/fbnic/fbnic_hw_stats.c
create mode 100644 drivers/net/ethernet/meta/fbnic/fbnic_hw_stats.h
--
2.43.5
Powered by blists - more mailing lists