[SRU][F:linux-bluefield][PATCH v1 0/3] Support hardware stats for tc actions

William Tu witu at nvidia.com
Mon Apr 3 22:38:38 UTC 2023


BugLink: https://bugs.launchpad.net/bugs/2015136

* Explain the bug(s)

tc hardware stats are not offloaded from some offloaded actions (pedit, sample, skbedit)

* brief explanation of fixes

Implement the necessary callbacks to report back stats for these actions.

* How to test

Configure two mlx5 rep devices and VFs.
Add tc offloaded tc rules with pedit action, and hit that rule with traffic

Ido Schimmel (1):
  sched: act_sample: Implement stats_update callback

Petr Machata (2):
  sched: act_skbedit: Implement stats_update callback
  sched: act_pedit: Implement stats_update callback

 net/sched/act_pedit.c   | 11 +++++++++++
 net/sched/act_sample.c  | 11 +++++++++++
 net/sched/act_skbedit.c | 11 +++++++++++
 3 files changed, 33 insertions(+)

-- 
2.34.1




More information about the kernel-team mailing list