diff options
author | Ariel Levkovich <lariel@mellanox.com> | 2020-07-23 01:03:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-24 15:23:31 -0700 |
commit | 5923b8f7fa218a9bccd730c0a9692635eb2fc740 (patch) | |
tree | 6031e384f304d24f1eed7f4b5b7be6764ce910d9 /include | |
parent | 0cb09aff9d49d92305c3969fc84b785117412968 (diff) |
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')
-rw-r--r-- | include/uapi/linux/pkt_cls.h | 3 |
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, }; |