Hi

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

Patch 1 is a pre-step by defining ovs key structs using macros

Patch 2 avoids the unnecessary rewrites and adapts the tests accordingly


Travis link:
https://travis-ci.org/roidayan/ovs/builds/477699710
Appvoyer link:
https://ci.appveyor.com/project/roidayan/ovs/builds/21515073

Thanks,
Eli


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

 build-aux/extract-odp-netlink-h                   |   3 +-
 datapath/linux/compat/include/linux/openvswitch.h | 102 +++++++++++++-------
 lib/odp-util.c                                    | 110 ++++++++++++++++++++--
 tests/mpls-xlate.at                               |   2 +-
 tests/ofproto-dpif.at                             |  14 +--
 5 files changed, 179 insertions(+), 52 deletions(-)

-- 
2.14.5

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

Reply via email to