commit | 745d91726006fcaa9006f491f9a596c4025cecf7 | [log] [tgz] |
---|---|---|
author | Hadar Hen Zion <hadarh@mellanox.com> | Thu Sep 01 09:45:47 2016 +0300 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Thu Sep 01 08:38:41 2016 -0700 |
tree | 1830ddc5e0f87d9c5f4848850d5287af57c2cd88 | |
parent | ed81deabf2bf3694d0624b7063c8a99f3e2bc7d9 [diff] |
tc: flower: Introduce vlan support 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 <hadarh@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com>