mbox series

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

Message ID 20190310053132.17164-1-elibr@mellanox.com
Headers show
Series Do not rewrite fields with the same values as matched | expand

Message

Eli Britstein March 10, 2019, 5:31 a.m. UTC
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 V5:
Generating directly offsetof/sizeof arrays instead of indirection macros.

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