eth: fbnic: Extend hw stats support
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 6 repliesApplied 6/6
- v16 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- [patch 3] make ASSERT_RTNL() conditional, at init stats are flushed without rtnl_lock, before netdev is allocated
v1: https://lore.kernel.org/[email protected]
Patches in v2 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | eth: fbnic: Move hw_stats_lock out of fbnic_devdrivers/ drivers/ drivers/ +3 more | +29 | 1 reply | Applied |
| 2/6 | eth: fbnic: Reset hw stats upon PCI errordrivers/ | +2 | 1 reply | Applied |
| 3/6 | eth: fbnic: Reset MAC statsdrivers/ drivers/ | +24 | 1 reply | Applied |
| 4/6 | eth: fbnic: Fetch PHY stats from devicedrivers/ drivers/ drivers/ +2 more | +101 | 1 reply | Applied |
| 5/6 | eth: fbnic: Read PHY stats via the ethtool APIdrivers/ | +42 | 1 reply | Applied |
| 6/6 | eth: fbnic: Add pause stats supportdrivers/ drivers/ drivers/ +3 more | +42 | 1 reply | Applied |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Jacob Keller |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/6] eth: fbnic: Extend hw stats support
Mohsin says:
Extend hardware stats support for fbnic by adding the ability to reset hardware stats when the device experience a reset due to a PCI error and include MAC stats in the hardware stats reset. Additionally, expand hardware stats coverage to include FEC, PHY, and Pause stats.
v2:
- [patch 3] make ASSERT_RTNL() conditional, at init stats are flushed without rtnl_lock, before netdev is allocated
v1: https://lore.kernel.org/[email protected]
Mohsin Bashir (6):
eth: fbnic: Move hw_stats_lock out of fbnic_dev
eth: fbnic: Reset hw stats upon PCI error
eth: fbnic: Reset MAC stats
eth: fbnic: Fetch PHY stats from device
eth: fbnic: Read PHY stats via the ethtool API
eth: fbnic: Add pause stats support
drivers/net/ethernet/meta/fbnic/fbnic.h | 3 - drivers/net/ethernet/meta/fbnic/fbnic_csr.h | 19 ++++++ .../net/ethernet/meta/fbnic/fbnic_hw_stats.h | 28 ++++++++ drivers/net/ethernet/meta/fbnic/fbnic_mac.h | 6 ++ .../net/ethernet/meta/fbnic/fbnic_ethtool.c | 63 +++++++++++++++++- .../net/ethernet/meta/fbnic/fbnic_hw_stats.c | 66 ++++++++++++++++--- drivers/net/ethernet/meta/fbnic/fbnic_mac.c | 57 ++++++++++++++++ .../net/ethernet/meta/fbnic/fbnic_netdev.c | 12 ++-- drivers/net/ethernet/meta/fbnic/fbnic_pci.c | 7 +- 9 files changed, 240 insertions(+), 21 deletions(-)
Signature · 1 line
2.51.0