net/core: Add new basic hardware counter
authorEelco Chaudron <echaudro@redhat.com>
Fri, 21 Sep 2018 11:13:54 +0000 (07:13 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Sep 2018 19:18:42 +0000 (12:18 -0700)
commit5e111210a44301304f9054e995bf33f69b6de76f
tree18f34a793e405cdd4d06f43c47c215875089d8ad
parent7ff2ea0bbfb17c54617608b5ff59460afa23f641
net/core: Add new basic hardware counter

Add a new hardware specific basic counter, TCA_STATS_BASIC_HW. This can
be used to count packets/bytes processed by hardware offload.

Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/gen_stats.h
include/uapi/linux/gen_stats.h
net/core/gen_stats.c