diff options
author | Eelco Chaudron <echaudro@redhat.com> | 2018-09-21 07:14:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-24 12:18:42 -0700 |
commit | 28169abadb08333eb607621faa3a1dd7109e0d45 (patch) | |
tree | 2cdc35f1b72aee9952d534730056314c8486eb90 /include/net/pkt_cls.h | |
parent | 5e111210a44301304f9054e995bf33f69b6de76f (diff) | |
download | linux-28169abadb08333eb607621faa3a1dd7109e0d45.tar.bz2 |
net/sched: Add hardware specific counters to TC actions
Add additional counters that will store the bytes/packets processed by
hardware. These will be exported through the netlink interface for
displaying by the iproute2 tc tool
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/pkt_cls.h')
-rw-r--r-- | include/net/pkt_cls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index 75a3f3fdb359..bbfe27f86d5f 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h @@ -318,7 +318,7 @@ tcf_exts_stats_update(const struct tcf_exts *exts, for (i = 0; i < exts->nr_actions; i++) { struct tc_action *a = exts->actions[i]; - tcf_action_stats_update(a, bytes, packets, lastuse); + tcf_action_stats_update(a, bytes, packets, lastuse, true); } preempt_enable(); |