summaryrefslogtreecommitdiff
path: root/include/uapi/linux/pkt_cls.h
diff options
context:
space:
mode:
authorAriel Levkovich <lariel@mellanox.com>2020-07-23 01:03:01 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-25 01:23:31 +0300
commit5923b8f7fa218a9bccd730c0a9692635eb2fc740 (patch)
tree6031e384f304d24f1eed7f4b5b7be6764ce910d9 /include/uapi/linux/pkt_cls.h
parent0cb09aff9d49d92305c3969fc84b785117412968 (diff)
downloadlinux-5923b8f7fa218a9bccd730c0a9692635eb2fc740.tar.xz
net/sched: cls_flower: Add hash info to flow classification
Adding new cls flower keys for hash value and hash mask and dissect the hash info from the skb into the flow key towards flow classication. Signed-off-by: Ariel Levkovich <lariel@mellanox.com> Reviewed-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h
index 7576209d96f9..ee95f42fb0ec 100644
--- a/include/uapi/linux/pkt_cls.h
+++ b/include/uapi/linux/pkt_cls.h
@@ -578,6 +578,9 @@ enum {
TCA_FLOWER_KEY_MPLS_OPTS,
+ TCA_FLOWER_KEY_HASH, /* u32 */
+ TCA_FLOWER_KEY_HASH_MASK, /* u32 */
+
__TCA_FLOWER_MAX,
};