[ovs-git] [openvswitch/ovs] 00ec40: odp-util: Accept fields with zero mask

GitHub noreply at github.com
Tue Jan 19 22:18:34 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 00ec40176a86e72e60a55d2972d2eaa374b15650
      https://github.com/openvswitch/ovs/commit/00ec40176a86e72e60a55d2972d2eaa374b15650
  Author: Haggai Eran <haggaie at mellanox.com>
  Date:   2016-01-19 (Tue, 19 Jan 2016)

  Changed paths:
    M lib/odp-util.c

  Log Message:
  -----------
  odp-util: Accept fields with zero mask

It is possible to pass some fields to the kernel with a zero mask, but
ovs-dpctl doesn't currently allow it. Change the code to allow it to
mimic what vswitchd is allowed to do.

Signed-off-by: Haggai Eran <haggaie at mellanox.com>
Signed-off-by: Jesse Gross <jesse at kernel.org>


  Commit: fba633f13c8351b9c2c4bd0be2e9281fd99a34b9
      https://github.com/openvswitch/ovs/commit/fba633f13c8351b9c2c4bd0be2e9281fd99a34b9
  Author: Haggai Eran <haggaie at mellanox.com>
  Date:   2016-01-19 (Tue, 19 Jan 2016)

  Changed paths:
    M ofproto/tunnel.c
    M tests/tunnel-push-pop-ipv6.at
    M tests/tunnel-push-pop.at
    M tests/tunnel.at

  Log Message:
  -----------
  ofproto: Wildcard TTL on IP tunnels

There is no need to set the mask on the outer header IP TTL [1]. The only requirement
is that the TTL will be non-zero. Clear the mask in tnl_wc_init().

[1] OVS VXLAN decap rule has full match on TTL for the outer headers?
    http://www.spinics.net/lists/netdev/msg351961.html

Cc: Jesse Gross <jesse at kernel.org>
Cc: Joe Stringer <joe at ovn.org>
Signed-off-by: Haggai Eran <haggaie at mellanox.com>
Signed-off-by: Jesse Gross <jesse at kernel.org>


Compare: https://github.com/openvswitch/ovs/compare/f18d4462c579...fba633f13c83


More information about the git mailing list