[ovs-dev] [PATCH v5 5/6] ofproto-dpif-rid: Make lookups cheaper.

Ben Pfaff blp at nicira.com
Wed Aug 26 19:46:35 UTC 2015

On Fri, Aug 21, 2015 at 03:25:22PM -0700, Jarno Rajahalme wrote:
> Tunnel metadata has grown large since the addition of Geneve options.
> Copying tunnel metadata for performing a lookup is not necessary.
> Change recirc_metadata to use a pointer to struct flow_tnl, and only
> copy the tunnel metadata when needed, and only copy as little of it as
> possible.
> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>

The order of members in struct flow_tnl is now important, so I'd add a
comment in that structure explaining that.

Which lookups does this speed up?

More information about the dev mailing list