From: Jiri Pirko <jiri@resnulli.us>
To: Hadar Hen Zion <hadarh@mellanox.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>,
netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
Jiri Pirko <jiri@mellanox.com>, Amir Vadai <amirva@mellanox.com>,
Or Gerlitz <ogerlitz@mellanox.com>
Subject: Re: [PATCH iproute2 1/2] tc: flower: Introduce vlan support
Date: Mon, 22 Aug 2016 13:06:29 +0200 [thread overview]
Message-ID: <20160822110629.GA1970@nanopsycho> (raw)
In-Reply-To: <1471861494-8299-2-git-send-email-hadarh@mellanox.com>
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 <hadarh@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Would be nice to see vlan proto support in near future.
next prev parent reply other threads:[~2016-08-22 11:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-22 10:24 [PATCH iproute2 0/2] tc: flower, m_vlan: Introduce vlan tag support Hadar Hen Zion
2016-08-22 10:24 ` [PATCH iproute2 1/2] tc: flower: Introduce vlan support Hadar Hen Zion
2016-08-22 11:06 ` Jiri Pirko [this message]
2016-08-29 18:14 ` Stephen Hemminger
2016-08-22 10:24 ` [PATCH iproute2 2/2] tc: m_vlan: Add priority option to push vlan action Hadar Hen Zion
2016-08-22 11:07 ` Jiri Pirko
[not found] <1471860867-7836-1-git-send-email-y>
2016-08-22 10:14 ` [PATCH iproute2 1/2] tc: flower: Introduce vlan support y
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160822110629.GA1970@nanopsycho \
--to=jiri@resnulli.us \
--cc=amirva@mellanox.com \
--cc=davem@davemloft.net \
--cc=hadarh@mellanox.com \
--cc=jiri@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=ogerlitz@mellanox.com \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).