From: Mohsin Bashir <mohsin.bashr@gmail•com>
To: netdev@vger•kernel.org
Cc: alexanderduyck@fb•com, kuba@kernel•org, andrew@lunn•ch,
davem@davemloft•net, edumazet@google•com, pabeni@redhat•com,
kernel-team@meta•com, sanmanpradhan@meta•com, sdf@fomichev•me,
jdamato@fastly•com, mohsin.bashr@gmail•com
Subject: [PATCH net-next v2 0/2] eth: Add basic ethtool support for fbnic
Date: Tue, 27 Aug 2024 13:59:02 -0700 [thread overview]
Message-ID: <20240827205904.1944066-1-mohsin.bashr@gmail.com> (raw)
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
next reply other threads:[~2024-08-27 20:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 20:59 Mohsin Bashir [this message]
2024-08-27 20:59 ` [PATCH net-next v2 1/2] eth: fbnic: Add ethtool support for fbnic Mohsin Bashir
2024-08-28 6:29 ` Michal Swiatkowski
2024-08-28 17:49 ` Mohsin Bashir
2024-08-28 18:18 ` Jakub Kicinski
2024-08-27 20:59 ` [PATCH net-next v2 2/2] eth: fbnic: Add support to fetch group stats Mohsin Bashir
2024-08-28 0:30 ` Nelson, Shannon
2024-08-28 16:41 ` Alexander H Duyck
2024-08-29 0:47 ` Mohsin Bashir
2024-08-28 14:37 ` Simon Horman
2024-08-28 17:50 ` Mohsin Bashir
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240827205904.1944066-1-mohsin.bashr@gmail.com \
--to=mohsin.bashr@gmail$(echo .)com \
--cc=alexanderduyck@fb$(echo .)com \
--cc=andrew@lunn$(echo .)ch \
--cc=davem@davemloft$(echo .)net \
--cc=edumazet@google$(echo .)com \
--cc=jdamato@fastly$(echo .)com \
--cc=kernel-team@meta$(echo .)com \
--cc=kuba@kernel$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=sanmanpradhan@meta$(echo .)com \
--cc=sdf@fomichev$(echo .)me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox