mbox series

[net-next,v3,0/2] eth: Add basic ethtool support for fbnic

Message ID 20240902173907.925023-1-mohsin.bashr@gmail.com (mailing list archive)
Headers show
Series eth: Add basic ethtool support for fbnic | expand

Message

Mohsin Bashir Sept. 2, 2024, 5:39 p.m. UTC
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 v2:
- Fix v1 reference link 
- Fix nit

---
v2: https://lore.kernel.org/netdev/20240827205904.1944066-2-mohsin.bashr@gmail.com
 
v1: https://lore.kernel.org/netdev/20240822184944.3882360-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

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 4, 2024, 12:20 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Mon,  2 Sep 2024 10:39:05 -0700 you wrote:
> 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 v2:
> - Fix v1 reference link
> - Fix nit
> 
> [...]

Here is the summary with links:
  - [net-next,v3,1/2] eth: fbnic: Add ethtool support for fbnic
    https://git.kernel.org/netdev/net-next/c/bd2557a554a0
  - [net-next,v3,2/2] eth: fbnic: Add support to fetch group stats
    https://git.kernel.org/netdev/net-next/c/4eb7f20bcf06

You are awesome, thank you!