[ovs-git] [openvswitch/ovs] 2d18ea: lib/odp-util: Skip ignored fields when parsing and...

GitHub noreply at github.com
Tue Sep 9 22:03:31 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 2d18eae86d423cc6b8aa54fe9a78299b2babc585
      https://github.com/openvswitch/ovs/commit/2d18eae86d423cc6b8aa54fe9a78299b2babc585
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-09-09 (Tue, 09 Sep 2014)

  Changed paths:
    M lib/odp-util.c
    M tests/bfd.at
    M tests/dpif-netdev.at
    M tests/odp.at
    M tests/ofproto-dpif.at
    M tests/tunnel.at

  Log Message:
  -----------
  lib/odp-util: Skip ignored fields when parsing and formatting.

When a whole field of a key value is ignored, skip it when formatting
the key, and allow it to be left out when parsing the key from a
string.  However, when the 'verbose' formatting is requested those are
still formatted, as it may help in debugging.

Now the named key fields can also be given in arbitrary order.
Duplicate field values are not checked for, so the last one will
remain in effect.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 53477c2ce01bec227572a8730eede1c16f25d67f
      https://github.com/openvswitch/ovs/commit/53477c2ce01bec227572a8730eede1c16f25d67f
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-09-09 (Tue, 09 Sep 2014)

  Changed paths:
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif-xlate.h
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  ofproto: Probe for masked set action support.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Reviewed-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: d23df9a877d6fdce93634ef3fb6dcbfa35ec9960
      https://github.com/openvswitch/ovs/commit/d23df9a877d6fdce93634ef3fb6dcbfa35ec9960
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-09-09 (Tue, 09 Sep 2014)

  Changed paths:
    M lib/odp-util.c
    M lib/odp-util.h
    M ofproto/ofproto-dpif-xlate.c
    M tests/ofproto-dpif.at
    M tests/tunnel.at

  Log Message:
  -----------
  lib/odp: Use masked set actions.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 2c0f0be1e5ebe37acd12d68ed2380ddf4cdddfe0
      https://github.com/openvswitch/ovs/commit/2c0f0be1e5ebe37acd12d68ed2380ddf4cdddfe0
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-09-09 (Tue, 09 Sep 2014)

  Changed paths:
    M lib/odp-util.c

  Log Message:
  -----------
  lib/odp-util: Fix mapping to Netlink frag mask.

The frag member in the Netlink interface is an uint8_t enumeration
type, not a bitfield, so it should always be either fully masked or
not masked at all.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 3cea18ece5bae2cf38bf85febd0ca52daac56723
      https://github.com/openvswitch/ovs/commit/3cea18ece5bae2cf38bf85febd0ca52daac56723
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-09-09 (Tue, 09 Sep 2014)

  Changed paths:
    M lib/odp-util.c

  Log Message:
  -----------
  lib/odp-util: Reduce duplicated code.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/f7c2f97d575b...3cea18ece5ba


More information about the git mailing list