Setting priority-tags to "true" Open vSwitch still omits the
802.1Q header on output if both the VLAN ID and priority would be zero.
Add an option to keep the 8021Q header for such frames as well.

Patch #1: change boolean to enum as a pre-step to adding addition option
Patch #2: add "include" mode for priority-tags configuration

Eli Britstein (2):
  ofproto-dpif-xlate: Change priority tags from boolean to enum
  ofproto-dpif-xlate: Add include mode to priority tags

 ofproto/ofproto-dpif-xlate.c | 20 ++++++++++++--------
 ofproto/ofproto-dpif-xlate.h |  2 +-
 ofproto/ofproto-dpif.c       |  3 ++-
 ofproto/ofproto.h            | 11 ++++++++++-
 tests/ofproto-dpif.at        |  6 +++---
 vswitchd/bridge.c            | 10 ++++++++--
 vswitchd/vswitch.xml         |  9 +++++----
 7 files changed, 41 insertions(+), 20 deletions(-)

-- 
2.17.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to