summaryrefslogtreecommitdiff
path: root/include/uapi/linux/pkt_cls.h
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-09-07 17:22:21 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-10 20:35:15 +0300
commit86c55361e569400b6286f30283a9c143a18c20d9 (patch)
tree8c67d9602a5bf3fb694bb7079ac3a7c9e1878ac8 /include/uapi/linux/pkt_cls.h
parentfd2b803fa8ef3dd4b6c6a71d5f33bac7ccd76d18 (diff)
downloadlinux-86c55361e569400b6286f30283a9c143a18c20d9.tar.xz
net: sched: cls_flower: dump offload count value
Change flower in_hw_count type to fixed-size u32 and dump it as TCA_FLOWER_IN_HW_COUNT. This change is necessary to properly test shared blocks and re-offload functionality. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/pkt_cls.h')
-rw-r--r--include/uapi/linux/pkt_cls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h
index be382fb0592d..401d0c1e612d 100644
--- a/include/uapi/linux/pkt_cls.h
+++ b/include/uapi/linux/pkt_cls.h
@@ -483,6 +483,8 @@ enum {
TCA_FLOWER_KEY_ENC_OPTS,
TCA_FLOWER_KEY_ENC_OPTS_MASK,
+ TCA_FLOWER_IN_HW_COUNT,
+
__TCA_FLOWER_MAX,
};