eth: fbnic: report software queue stats
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 7 repliesIn review 2 of 5 applied
Patches in v1 2 of 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net: report csum_complete via qstatsinclude/ net/ | +2 | 1 reply | Applied |
| 2/5 | eth: fbnic: wrap tx queue stats in a structdrivers/ drivers/ drivers/ | +16 | 1 reply | |
| 3/5 | eth: fbnic: report software Rx queue statsdrivers/ drivers/ drivers/ | +51 | 1 reply | |
| 4/5 | eth: fbnic: report software Tx queue statsdrivers/ drivers/ drivers/ | +32 | 1 reply | |
| 5/5 | eth: fbnic: re-sort the objects in the Makefiledrivers/ | +2 | 3 replies | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Joe Damato | Alexander Lobakin |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | A-b | |
| 3/5 | A-b | |
| 4/5 | A-b | |
| 5/5 | A-b | 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 0/5] eth: fbnic: report software queue stats
Fill in typical software queue stats.
# ./pyynl/cli.py --spec netlink/specs/netdev.yaml --dump qstats-get
[{'ifindex': 2,
'rx-alloc-fail': 0,
'rx-bytes': 398064076,
'rx-csum-complete': 271,
'rx-csum-none': 0,
'rx-packets': 276044,
'tx-bytes': 7223770,
'tx-needs-csum': 28148,
'tx-packets': 28449,
'tx-stop': 0,
'tx-wake': 0}]Note that we don't collect csum-unnecessary, just the uncommon cases (and unnecessary is all the rest of the packets). There is no programatic use for these stats AFAIK, just manual debug.
Jakub Kicinski (5):
net: report csum_complete via qstats
eth: fbnic: wrap tx queue stats in a struct
eth: fbnic: report software Rx queue stats
eth: fbnic: report software Tx queue stats
eth: fbnic: re-sort the objects in the Makefile
drivers/net/ethernet/meta/fbnic/Makefile | 3 +- drivers/net/ethernet/meta/fbnic/fbnic_txrx.h | 16 +++- include/net/netdev_queues.h | 1 + .../net/ethernet/meta/fbnic/fbnic_ethtool.c | 8 +- .../net/ethernet/meta/fbnic/fbnic_netdev.c | 22 +++++- drivers/net/ethernet/meta/fbnic/fbnic_txrx.c | 74 +++++++++++++++---- net/core/netdev-genl.c | 1 + 7 files changed, 102 insertions(+), 23 deletions(-)
Signature · 1 line
2.48.1