[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 9 Oct 2016 19:12:06 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Shmulik Ladkani <shmulik.ladkani@...il.com>
Cc: netdev@...r.kernel.org, Jamal Hadi Salim <jhs@...atatu.com>,
Jiri Pirko <jiri@...nulli.us>
Subject: Re: [PATCH v2 iproute2 net-next] tc: m_vlan: Add vlan modify action
On Thu, 22 Sep 2016 21:01:05 +0300
Shmulik Ladkani <shmulik.ladkani@...il.com> wrote:
> The 'vlan modify' action allows to replace an existing 802.1q tag
> according to user provided settings.
> It accepts same arguments as the 'vlan push' action.
>
> For example, this replaces vid 6 with vid 5:
>
> # tc filter add dev veth0 parent ffff: pref 1 protocol 802.1q \
> basic match 'meta(vlan mask 0xfff eq 6)' \
> action vlan modify id 5 continue
>
> Signed-off-by: Shmulik Ladkani <shmulik.ladkani@...il.com>
Applied to net-next (for 4.9)
Powered by blists - more mailing lists