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

Eli Britstein elibr at mellanox.com
Fri Feb 22 11:14:09 UTC 2019


ping

On 2/17/2019 11:18 AM, Eli Britstein wrote:
> 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 V4:
> - Remove __ prefix
> - Remove unused __OVS_KEY_FIELDS_END
> Tests 1219-1220 failed because I had OVS running with VXLAN and GRE
> configured. Shutting it down and the tests pass.
>
> 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 |  53 ++++++++++
>   include/automake.mk                     |  11 ++-
>   lib/odp-util.c                          | 122 +++++++++++++++++++++---
>   tests/mpls-xlate.at                     |   2 +-
>   tests/ofproto-dpif.at                   |  14 +--
>   6 files changed, 180 insertions(+), 23 deletions(-)
>   create mode 100755 build-aux/extract-odp-netlink-xmacros-h
>


More information about the dev mailing list