All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH net-next 0/5] xstats for tc-taprio
@ 2023-05-30  9:19 ` Vladimir Oltean
  0 siblings, 0 replies; 38+ messages in thread
From: Vladimir Oltean @ 2023-05-30  9:19 UTC (permalink / raw)
  To: netdev
  Cc: Andrew Lunn, Alexandre Belloni, Ferenc Fejes, Kurt Kanzenbach,
	Alexandre Torgue, Eric Dumazet, Tony Nguyen, Cong Wang,
	Gerhard Engleder, UNGLinuxDriver, Horatiu Vultur,
	Florian Fainelli, Xiaoliang Yang, Jesse Brandeburg,
	Mohammad Athari Bin Ismail, intel-wired-lan, Jakub Kicinski,
	Paolo Abeni, Pranavi Somisetty, Jiri Pirko, Jamal Hadi Salim,
	Roger Quadros, Claudiu Manoil, Giuseppe Cavallaro,
	Michael Sit Wei Hong, Harini Katakam, linux-kernel, Jose Abreu,
	Oleksij Rempel, Maxime Coquelin, David S. Miller

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

Vladimir Oltean (5):
  net/sched: taprio: don't overwrite "sch" variable in
    taprio_dump_class_stats()
  net/sched: taprio: replace tc_taprio_qopt_offload :: enable with a
    "cmd" enum
  net/sched: taprio: add netlink reporting for offload statistics
    counters
  net: enetc: refactor enetc_setup_tc_taprio() to have a switch/case for
    cmd
  net: enetc: report statistics counters for taprio

 drivers/net/dsa/hirschmann/hellcreek.c        |  14 ++-
 drivers/net/dsa/ocelot/felix_vsc9959.c        |   4 +-
 drivers/net/dsa/sja1105/sja1105_tas.c         |   7 +-
 .../net/ethernet/engleder/tsnep_selftests.c   |  12 +-
 drivers/net/ethernet/engleder/tsnep_tc.c      |   4 +-
 drivers/net/ethernet/freescale/enetc/enetc.c  |   3 +-
 drivers/net/ethernet/freescale/enetc/enetc.h  |   1 +
 .../net/ethernet/freescale/enetc/enetc_qos.c  | 110 ++++++++++++++----
 drivers/net/ethernet/intel/igc/igc_main.c     |  13 ++-
 .../ethernet/microchip/lan966x/lan966x_tc.c   |  10 +-
 .../net/ethernet/stmicro/stmmac/stmmac_tc.c   |   7 +-
 drivers/net/ethernet/ti/am65-cpsw-qos.c       |  11 +-
 include/net/pkt_sched.h                       |  56 +++++++--
 include/uapi/linux/pkt_sched.h                |  10 ++
 net/sched/sch_taprio.c                        |  90 ++++++++++++--
 15 files changed, 286 insertions(+), 66 deletions(-)

-- 
2.34.1

_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2023-05-31 17:10 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-30  9:19 [Intel-wired-lan] [PATCH net-next 0/5] xstats for tc-taprio Vladimir Oltean
2023-05-30  9:19 ` Vladimir Oltean
2023-05-30  9:19 ` [Intel-wired-lan] [PATCH net-next 1/5] net/sched: taprio: don't overwrite "sch" variable in taprio_dump_class_stats() Vladimir Oltean
2023-05-30  9:19   ` Vladimir Oltean
2023-05-30 21:14   ` [Intel-wired-lan] " Vinicius Costa Gomes
2023-05-30 21:14     ` Vinicius Costa Gomes
2023-05-30 21:32     ` [Intel-wired-lan] " Vladimir Oltean
2023-05-30 21:32       ` Vladimir Oltean
2023-05-30 22:33       ` [Intel-wired-lan] " Vinicius Costa Gomes
2023-05-30 22:33         ` Vinicius Costa Gomes
2023-05-30  9:19 ` [Intel-wired-lan] [PATCH net-next 2/5] net/sched: taprio: replace tc_taprio_qopt_offload :: enable with a "cmd" enum Vladimir Oltean
2023-05-30  9:19   ` Vladimir Oltean
2023-05-30 12:01   ` [Intel-wired-lan] " Horatiu Vultur
2023-05-30 12:01     ` Horatiu Vultur
2023-05-30 12:20   ` [Intel-wired-lan] " Kurt Kanzenbach
2023-05-30 12:20     ` Kurt Kanzenbach
2023-05-30 12:45   ` [Intel-wired-lan] " Zulkifli, Muhammad Husaini
2023-05-30 12:45     ` Zulkifli, Muhammad Husaini
2023-05-30 20:50   ` [Intel-wired-lan] " Gerhard Engleder
2023-05-30 20:50     ` Gerhard Engleder
2023-05-31 17:08   ` [Intel-wired-lan] " Simon Horman
2023-05-31 17:08     ` Simon Horman
2023-05-31 17:10     ` [Intel-wired-lan] " Vladimir Oltean
2023-05-31 17:10       ` Vladimir Oltean
2023-05-30  9:19 ` [Intel-wired-lan] [PATCH net-next 3/5] net/sched: taprio: add netlink reporting for offload statistics counters Vladimir Oltean
2023-05-30  9:19   ` Vladimir Oltean
2023-05-30 22:52   ` [Intel-wired-lan] " Vinicius Costa Gomes
2023-05-30 22:52     ` Vinicius Costa Gomes
2023-05-31 13:33     ` [Intel-wired-lan] " Vladimir Oltean
2023-05-31 13:33       ` Vladimir Oltean
2023-05-31 10:54   ` [Intel-wired-lan] " Zulkifli, Muhammad Husaini
2023-05-31 10:54     ` Zulkifli, Muhammad Husaini
2023-05-30  9:19 ` [Intel-wired-lan] [PATCH net-next 4/5] net: enetc: refactor enetc_setup_tc_taprio() to have a switch/case for cmd Vladimir Oltean
2023-05-30  9:19   ` Vladimir Oltean
2023-05-30  9:19 ` [Intel-wired-lan] [PATCH net-next 5/5] net: enetc: report statistics counters for taprio Vladimir Oltean
2023-05-30  9:19   ` Vladimir Oltean
2023-05-31  9:10 ` [Intel-wired-lan] [PATCH net-next 0/5] xstats for tc-taprio patchwork-bot+netdevbpf
2023-05-31  9:10   ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.