]> www.infradead.org Git - users/dwmw2/linux.git/commit
Merge branch 'sfc-per-q-stats'
authorDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2024 15:02:24 +0000 (16:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2024 15:02:24 +0000 (16:02 +0100)
commitcf95456862306bd467eb732b929d4bfbf946a1f6
treeba6950b2bb4d705a8356c4e59d3d6539c2a8f118
parentd521db38f339709ccd23c5deb7663904e626c3a6
parentb3411dbdaa55cffbcdfa1aaffa78f812132937fe
Merge branch 'sfc-per-q-stats'

Edward Cree says:

====================
sfc: per-queue stats

This series implements the netdev_stat_ops interface for per-queue
 statistics in the sfc driver, partly using existing counters that
 were originally added for ethtool -S output.

Changed in v4:
* remove RFC tags

Changed in v3:
* make TX stats count completions rather than enqueues
* add new patch #4 to account for XDP TX separately from netdev
  traffic and include it in base_stats
* move the tx_queue->old_* members out of the fastpath cachelines
* note on patch #6 that our hw_gso stats still count enqueues
* RFC since net-next is closed right now

Changed in v2:
* exclude (dedicated) XDP TXQ stats from per-queue TX stats
* explain patch #3 better
====================

Signed-off-by: David S. Miller <davem@davemloft.net>