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 <echau...@redhat.com> 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(-)