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

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

Message

Eli Britstein Feb. 7, 2019, 4:44 p.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 of generating ovs key fields macros

Patch 2 avoids the unnecessary rewrites and adapts the tests accordingly


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

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

Comments

Eli Britstein Feb. 12, 2019, 5:36 p.m. UTC | #1
ping

On 2/7/2019 6:44 PM, Eli Britstein wrote:
> Hi
>
> 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
>
>
> Travis link:
> https://travis-ci.org/roidayan/ovs/builds/490090058
> Appvoyer link:
> https://ci.appveyor.com/project/roidayan/ovs/builds/22198603
>
> 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 |  55 ++++++++++++++++
>   include/automake.mk                     |  11 +++-
>   lib/odp-util.c                          | 110 +++++++++++++++++++++++++++++---
>   tests/mpls-xlate.at                     |   2 +-
>   tests/ofproto-dpif.at                   |  14 ++--
>   6 files changed, 172 insertions(+), 21 deletions(-)
>   create mode 100755 build-aux/extract-odp-netlink-xmacros-h
>