Thread (6 messages) flat view 6 messages, 3 authors, 2016-08-29

Re: [PATCH iproute2 1/2] tc: flower: Introduce vlan support

From: Jiri Pirko <jiri@resnulli.us>
Date: 2016-08-22 11:18:41

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help