[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160822110629.GA1970@nanopsycho>
Date: Mon, 22 Aug 2016 13:06:29 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Hadar Hen Zion <hadarh@...lanox.com>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>,
Jiri Pirko <jiri@...lanox.com>,
Amir Vadai <amirva@...lanox.com>,
Or Gerlitz <ogerlitz@...lanox.com>
Subject: Re: [PATCH iproute2 1/2] tc: flower: Introduce vlan support
Mon, Aug 22, 2016 at 12:24:53PM CEST, hadarh@...lanox.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 <hadarh@...lanox.com>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Would be nice to see vlan proto support in near future.
Powered by blists - more mailing lists