[ovs-dev] [PATCH v3 0/6] Masked set actions

Jarno Rajahalme jrajahalme at nicira.com
Fri Aug 8 20:28:07 UTC 2014


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




More information about the dev mailing list