[ovs-git] [openvswitch/ovs] 88f52d: ofproto-dpif-xlate: Change priority tags from bool...

Ben Pfaff noreply at github.com
Fri May 24 18:22:27 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 88f52d7fabb0d22296223b97d51747f696c87d45
      https://github.com/openvswitch/ovs/commit/88f52d7fabb0d22296223b97d51747f696c87d45
  Author: Eli Britstein <elibr at mellanox.com>
  Date:   2019-05-24 (Fri, 24 May 2019)

  Changed paths:
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif-xlate.h
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto.h
    M tests/ofproto-dpif.at
    M vswitchd/bridge.c
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  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 at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: ffbe41dbcb4882aafdf80d86afa1906b2a00199e
      https://github.com/openvswitch/ovs/commit/ffbe41dbcb4882aafdf80d86afa1906b2a00199e
  Author: Eli Britstein <elibr at mellanox.com>
  Date:   2019-05-24 (Fri, 24 May 2019)

  Changed paths:
    M NEWS
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto.h
    M vswitchd/bridge.c
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  ofproto-dpif-xlate: Add "always" mode to priority tags

Configure "if-nonzero" priority tags to retain the 802.1Q header
when the VLAN ID is zero, except both the VLAN ID and priority are zero.
Add a "always" configuration option to retain the 802.1Q header in such
frames as well.

Signed-off-by: Eli Britstein <elibr at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/b530bfcba0e3...ffbe41dbcb48


More information about the git mailing list