aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi
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-24 15:23:31 -0700
commit5923b8f7fa218a9bccd730c0a9692635eb2fc740 (patch)
tree6031e384f304d24f1eed7f4b5b7be6764ce910d9 /include/uapi
parentnet/flow_dissector: add packet hash dissection (diff)
downloadwireguard-linux-5923b8f7fa218a9bccd730c0a9692635eb2fc740.tar.xz
wireguard-linux-5923b8f7fa218a9bccd730c0a9692635eb2fc740.zip
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')
-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,
};