[ovs-dev,0/2] Do not rewrite fields with the same values as
mbox series

Message ID 20190110085110.4900-1-elibr@mellanox.com
Headers show
Series
  • Do not rewrite fields with the same values as
Related show

Message

Eli Britstein Jan. 10, 2019, 8:51 a.m. UTC
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(-)