This version translates all non-masked set actions to masked set
actions in the Linux kernel module, apart from the set tunnel action,
for which masking makes no sense.  This greatly simplifies the
changes, avoiding duplication of code comared to the previous version.

The userspace parts have been rebased, otherwise they are the same as
before.

Jarno Rajahalme (6):
  lib/odp: Masked set action execution and printing.
  ofproto: Probe for masked set action support.
  lib/odp: Use masked set actions.
  datapath/actions: Mark recalculate_csum as likely in set_ipv6_addr().
  datapath/flow_netlink: Validate IPv6 flow key and mask values.
  datapath: Allow masks for set actions.

 datapath/actions.c                                |  293 +++++++++-----
 datapath/flow_netlink.c                           |  133 +++++-
 datapath/linux/compat/include/linux/openvswitch.h |   10 +
 lib/dpif-netdev.c                                 |    1 +
 lib/dpif.c                                        |    1 +
 lib/odp-execute.c                                 |  244 ++++++++++-
 lib/odp-util.c                                    |  445 ++++++++++++++-------
 lib/odp-util.h                                    |    8 +-
 ofproto/ofproto-dpif-xlate.c                      |   33 +-
 ofproto/ofproto-dpif-xlate.h                      |    3 +-
 ofproto/ofproto-dpif.c                            |   58 ++-
 tests/odp.at                                      |   22 +
 tests/ofproto-dpif.at                             |   62 ++-
 tests/tunnel.at                                   |    8 +-
 14 files changed, 988 insertions(+), 333 deletions(-)

-- 
1.7.10.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to