This patch set avoids unnecessary rewrite actions to fields with the
same values as matched on.

Patch 1 is a pre-step of generating ovs key fields macros
Patch 2 avoids the unnecessary rewrites and adapts the tests accordingly

Differences from V6:
Remove bash dependency.

Thanks,
Eli

Eli Britstein (2):
  Makefiles: Generate datapath ovs key fields macros
  odp-util: Do not rewrite fields with the same values as matched

 .gitignore                             |  1 +
 build-aux/extract-odp-netlink-macros-h | 60 +++++++++++++++++
 include/automake.mk                    | 11 ++-
 lib/odp-util.c                         | 93 ++++++++++++++++++++++----
 tests/mpls-xlate.at                    |  2 +-
 tests/ofproto-dpif.at                  | 14 ++--
 6 files changed, 157 insertions(+), 24 deletions(-)
 create mode 100755 build-aux/extract-odp-netlink-macros-h

-- 
2.17.2

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to