diff options
author | Eelco Chaudron | 2018-09-21 13:13:54 +0200 |
---|---|---|
committer | David S. Miller | 2018-09-24 21:18:42 +0200 |
commit | 5e111210a44301304f9054e995bf33f69b6de76f (patch) | |
tree | 18f34a793e405cdd4d06f43c47c215875089d8ad /include/uapi/linux/gen_stats.h | |
parent | Merge branch 'mvpp2-Add-txq-to-CPU-mapping' (diff) | |
download | kernel-qcow2-linux-5e111210a44301304f9054e995bf33f69b6de76f.tar.gz kernel-qcow2-linux-5e111210a44301304f9054e995bf33f69b6de76f.tar.xz kernel-qcow2-linux-5e111210a44301304f9054e995bf33f69b6de76f.zip |
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>
Diffstat (limited to 'include/uapi/linux/gen_stats.h')
-rw-r--r-- | include/uapi/linux/gen_stats.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/gen_stats.h b/include/uapi/linux/gen_stats.h index 24a861c0d29d..065408e16a80 100644 --- a/include/uapi/linux/gen_stats.h +++ b/include/uapi/linux/gen_stats.h @@ -12,6 +12,7 @@ enum { TCA_STATS_APP, TCA_STATS_RATE_EST64, TCA_STATS_PAD, + TCA_STATS_BASIC_HW, __TCA_STATS_MAX, }; #define TCA_STATS_MAX (__TCA_STATS_MAX - 1) |