]> git.proxmox.com Git - mirror_ovs.git/commit
odp-util: Do not rewrite fields with the same values as matched
authorEli Britstein <elibr@mellanox.com>
Thu, 21 Mar 2019 07:44:16 +0000 (07:44 +0000)
committerBen Pfaff <blp@ovn.org>
Mon, 25 Mar 2019 23:32:17 +0000 (16:32 -0700)
commitdbf4a92800d0365cc3ec3c0e99df56e2ba676cb7
tree9d4ec9cabf8133cadc5434e4e47542d04dace570
parent5f44aaba7b11ab11113de80cc45201076d35f32d
odp-util: Do not rewrite fields with the same values as matched

To improve performance and avoid wasting resources for HW offloaded
flows, do not rewrite fields that are matched with the same value.

Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/odp-util.c
tests/mpls-xlate.at
tests/ofproto-dpif.at