]> git.proxmox.com Git - mirror_ovs.git/commit
ofproto-dpif-xlate: Change priority tags from boolean to enum
authorEli Britstein <elibr@mellanox.com>
Sun, 12 May 2019 05:50:59 +0000 (05:50 +0000)
committerBen Pfaff <blp@ovn.org>
Fri, 24 May 2019 18:22:10 +0000 (11:22 -0700)
commit88f52d7fabb0d22296223b97d51747f696c87d45
tree87488add22d1f838d85cb077c82806f22fae39d1
parentb530bfcba0e34b85f82135348ad5207419f36a3d
ofproto-dpif-xlate: Change priority tags from boolean to enum

Priority tags is a port configuration to determine how the port treats
priority tags, e.g. zero VLAN ID. Change the type from boolean to enum
as a pre-step towards introducing additional modes. The new options are
"never", equivalent to previously "false", and "if-nonzero",
equivalent to previously "true". "true" is still supported for backwards
compatibility.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif-xlate.h
ofproto/ofproto-dpif.c
ofproto/ofproto.h
tests/ofproto-dpif.at
vswitchd/bridge.c
vswitchd/vswitch.xml