OSDN Git Service

Merge branch 'xstats-for-tc-taprio'
authorDavid S. Miller <davem@davemloft.net>
Wed, 31 May 2023 09:00:30 +0000 (10:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 May 2023 09:00:30 +0000 (10:00 +0100)
commit60cbd38bb0ad9e4395fba9c6994f258f1d6cad51
tree0ee34e7ddb1ba0ec36d197af9c1716e02a442568
parent5dedf5c485e0dbbcdbcda995f029a696d7fa9c9a
parent4802fca8d1af9687a0fd71b729d96726f05192ad
Merge branch 'xstats-for-tc-taprio'

Vladimir Oltean says:

====================
xstats for tc-taprio

As a result of this discussion:
https://lore.kernel.org/intel-wired-lan/20230411055543.24177-1-muhammad.husaini.zulkifli@intel.com/

it became apparent that tc-taprio should make an effort to standardize
statistics counters related to the 802.1Qbv scheduling as implemented
by the NIC. I'm presenting here one counter suggested by the standard,
and one counter defined by the NXP ENETC controller from LS1028A. Both
counters are reported globally and per traffic class - drivers get
different callbacks for reporting both of these, and get to choose what
to report in both cases.

The iproute2 counterpart is available here for testing:
https://github.com/vladimiroltean/iproute2/commits/taprio-xstats
====================

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