[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180921111330.3532.29886.stgit@wsfd-netdev20.ntdv.lab.eng.bos.redhat.com>
Date: Fri, 21 Sep 2018 07:13:37 -0400
From: Eelco Chaudron <echaudro@...hat.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, jiri@...nulli.us, xiyou.wangcong@...il.com,
jhs@...atatu.com, jakub.kicinski@...ronome.com
Subject: [PATCH net-next V2 0/2] net/sched: Add hardware specific counters to TC actions
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@...hat.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(-)
Powered by blists - more mailing lists