Mon, Aug 22, 2016 at 12:24:53PM CEST, hadarh@mellanox.com wrote:
Classification according to vlan id and vlan priority.
Example script that adds vlan filter:
# add ingress qdisc
tc qdisc add dev ens4f0 ingress
# add a flower filter with vlan id and priority classification
tc filter add dev ens4f0 protocol 802.1Q parent ffff: \
flower \
indev ens4f0 \
vlan_ethtype ipv4 \
vlan_id 100 \
vlan_prio 3 \
action vlan pop
Signed-off-by: Hadar Hen Zion <redacted>
Acked-by: Jiri Pirko <redacted>
Would be nice to see vlan proto support in near future.