[ovs-git] [openvswitch/ovs] 7eb4b1: ofp-actions: Support OF1.5 (draft) masked Set-Fiel...

GitHub noreply at github.com
Wed Oct 8 21:39:10 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 7eb4b1f1d70345f44ac7f3de89eb0340a5cafb71
      https://github.com/openvswitch/ovs/commit/7eb4b1f1d70345f44ac7f3de89eb0340a5cafb71
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2014-10-08 (Wed, 08 Oct 2014)

  Changed paths:
    M NEWS
    M lib/learn.c
    M lib/meta-flow.c
    M lib/meta-flow.h
    M lib/nx-match.c
    M lib/nx-match.h
    M lib/ofp-actions.c
    M lib/ofp-actions.h
    M ofproto/ofproto-dpif-xlate.c
    M tests/ofp-actions.at
    M utilities/ovs-ofctl.8.in

  Log Message:
  -----------
  ofp-actions: Support OF1.5 (draft) masked Set-Field, merge with reg_load.

OpenFlow 1.5 (draft) extends the OFPAT_SET_FIELD action originally
introduced in OpenFlow 1.2 so that it can set not just entire fields but
any subset of bits within a field as well.  This commit adds support for
that feature when OpenFlow 1.5 is used.

With this feature, OFPAT_SET_FIELD becomes a superset of NXAST_REG_LOAD.
Thus, this commit merges the implementations of the two actions into a
single ofpact_set_field.

ONF-JIRA: EXT-314
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: YAMAMOTO Takashi <yamamoto at valinux.co.jp>


  Commit: f8047558b89d3181f07c5cb27f5a19786808545a
      https://github.com/openvswitch/ovs/commit/f8047558b89d3181f07c5cb27f5a19786808545a
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2014-10-08 (Wed, 08 Oct 2014)

  Changed paths:
    M lib/nx-match.c

  Log Message:
  -----------
  nx-match: Use nx_put_header() internally for encoding flow matches.

This will make it easier to support 64-bit OXM experimenter fields.

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


Compare: https://github.com/openvswitch/ovs/compare/ebeae5db715d...f8047558b89d


More information about the git mailing list