netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next V2 0/2] net/sched: Add hardware specific counters to TC actions
@ 2018-09-21 11:13 Eelco Chaudron
  2018-09-21 11:13 ` [PATCH net-next V2 1/2] net/core: Add new basic hardware counter Eelco Chaudron
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eelco Chaudron @ 2018-09-21 11:13 UTC (permalink / raw)
  To: netdev; +Cc: davem, jiri, xiyou.wangcong, jhs, jakub.kicinski

Add hardware specific counters to TC actions which will be exported
through the netlink API. This makes troubleshooting TC flower offload
easier, as it possible to differentiate the packets being offloaded.

Signed-off-by: Eelco Chaudron <echaudro@redhat.com>

v2 - Rebased on latest net-next

Eelco Chaudron (2):
      net/core: Add new basic hardware counter
      net/sched: Add hardware specific counters to TC actions


 include/net/act_api.h          |    8 +++-
 include/net/gen_stats.h        |    4 ++
 include/net/pkt_cls.h          |    2 +
 include/uapi/linux/gen_stats.h |    1 +
 net/core/gen_stats.c           |   73 ++++++++++++++++++++++++++++++----------
 net/sched/act_api.c            |   14 ++++++--
 net/sched/act_gact.c           |    6 +++
 net/sched/act_mirred.c         |    5 ++-
 8 files changed, 85 insertions(+), 28 deletions(-)

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

end of thread, other threads:[~2018-09-25  1:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-21 11:13 [PATCH net-next V2 0/2] net/sched: Add hardware specific counters to TC actions Eelco Chaudron
2018-09-21 11:13 ` [PATCH net-next V2 1/2] net/core: Add new basic hardware counter Eelco Chaudron
2018-09-21 11:14 ` [PATCH net-next V2 2/2] net/sched: Add hardware specific counters to TC actions Eelco Chaudron
2018-09-24 19:19 ` [PATCH net-next V2 0/2] " David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).