]> www.infradead.org Git - users/hch/misc.git/commit
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)
commit2f4720318d02b3879e858e373826aa0b63a55e5a
treeca02d51e813c4393b34e8998914bf252b95df334
parentfea5d562822bac85ceb44ad108f845ad6d04a704
parent0ec023282a9d9487d5f80fd785b0c2e80a40ba43
Merge branch 'eth-fbnic-report-software-queue-stats'

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>