Re: [PATCH v2 0/2] act_vlan: Introduce TCA_VLAN_ACT_MODIFY vlan action

From
David Miller <davem@davemloft.net>
Date
2016-09-22 05:34:48
Reply to
Shmulik Ladkani, 2016-09-19
From: Shmulik Ladkani <redacted>
Date: Mon, 19 Sep 2016 19:11:08 +0300
TCA_VLAN_ACT_MODIFY allows one to change an existing tag.

It accepts same attributes as TCA_VLAN_ACT_PUSH (protocol, id,
priority).
If packet is vlan tagged, then the tag gets overwritten according to
user specified attributes.

For example, this allows user to replace a tag's vid while preserving
its priority bits (as opposed to "action vlan pop pipe action vlan push").
Series applied.
Thread (5 messages) 5 messages, 2 authors, 2016-09-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help