Skip to content

eth: fbnic: report software queue stats

Jakub Kicinski netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review 2 of 5 applied

Patches in v1 2 of 5 applied

#Subject and filesSizeRepliesApplied
1/5net: report csum_complete via qstatsinclude/net/netdev_queues.h net/core/netdev-genl.c+2 -01 replyApplied
2/5eth: fbnic: wrap tx queue stats in a structdrivers/net/ethernet/meta/fbnic/fbnic_ethtool.c drivers/net/ethernet/meta/fbnic/fbnic_txrx.c drivers/net/ethernet/meta/fbnic/fbnic_txrx.h+16 -101 reply
3/5eth: fbnic: report software Rx queue statsdrivers/net/ethernet/meta/fbnic/fbnic_netdev.c drivers/net/ethernet/meta/fbnic/fbnic_txrx.c drivers/net/ethernet/meta/fbnic/fbnic_txrx.h+51 -91 reply
4/5eth: fbnic: report software Tx queue statsdrivers/net/ethernet/meta/fbnic/fbnic_netdev.c drivers/net/ethernet/meta/fbnic/fbnic_txrx.c drivers/net/ethernet/meta/fbnic/fbnic_txrx.h+32 -41 reply
5/5eth: fbnic: re-sort the objects in the Makefiledrivers/net/ethernet/meta/fbnic/Makefile+2 -13 repliesApplied

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJoe DamatoAlexander Lobakin
1/5R-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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