]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'eth-fbnic-report-software-queue-stats'
authorJakub Kicinski <kuba@kernel.org>
Thu, 13 Feb 2025 00:38:03 +0000 (16:38 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 13 Feb 2025 00:39:33 +0000 (16:39 -0800)
Jakub Kicinski says:

====================
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.
====================

Link: https://patch.msgid.link/20250211181356.580800-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge