[ovs-dev] [PATCH V2 0/2] Add include mode to priority tags port option

Eli Britstein elibr at mellanox.com
Sun May 12 05:50:58 UTC 2019


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 retain the 8021Q header in 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

V2 changes:
- Added NEWS item.
- A bit changed documentation.

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

 NEWS                         |  4 ++++
 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 +++++----
 8 files changed, 45 insertions(+), 20 deletions(-)

-- 
2.17.2



More information about the dev mailing list