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

I see tests 1219-1220 fail, but also failed witout those patches.
The difference from V3 is rebasing, adding struct ovs_key_nd_extensions
support.

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-xmacros-h |  56 +++++++++++
 include/automake.mk                     |  11 ++-
 lib/odp-util.c                          | 122 +++++++++++++++++++++---
 tests/mpls-xlate.at                     |   2 +-
 tests/ofproto-dpif.at                   |  14 +--
 6 files changed, 183 insertions(+), 23 deletions(-)
 create mode 100755 build-aux/extract-odp-netlink-xmacros-h

-- 
2.17.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to