diff options
author | Boris Sukholitko <boris.sukholitko@broadcom.com> | 2022-04-19 11:14:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-20 13:09:13 +0300 |
commit | b4000312822615ba2222e368188029e9b725dbf4 (patch) | |
tree | f63a0057a978a3525a594d4e1bb00de38052a92a /include | |
parent | 34951fcf26c59e78ae430fba1fce7c08b1871249 (diff) | |
download | linux-b4000312822615ba2222e368188029e9b725dbf4.tar.xz |
net/sched: flower: Add number of vlan tags filter
These are bookkeeping parts of the new num_of_vlans filter.
Defines, dump, load and set are being done here.
Signed-off-by: Boris Sukholitko <boris.sukholitko@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/pkt_cls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h index 404f97fb239c..9a2ee1e39fad 100644 --- a/include/uapi/linux/pkt_cls.h +++ b/include/uapi/linux/pkt_cls.h @@ -587,6 +587,8 @@ enum { TCA_FLOWER_KEY_HASH, /* u32 */ TCA_FLOWER_KEY_HASH_MASK, /* u32 */ + TCA_FLOWER_KEY_NUM_OF_VLANS, /* u8 */ + __TCA_FLOWER_MAX, }; |