[ovs-dev] [PATCH v3 1/3] rule_dpif_lookup_from_table: Check frags only once.
Jarno Rajahalme
jrajahalme at nicira.com
Mon Nov 10 21:39:01 UTC 2014
On Nov 6, 2014, at 3:32 PM, Ben Pfaff <blp at nicira.com> wrote:
> On Wed, Nov 05, 2014 at 02:48:41PM -0800, Jarno Rajahalme wrote:
>> Move the frags handling check up in the call chain, so that it is done
>> once for each rule_dpif_lookup_from_table() call.
>>
>> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
>
> rule_dpif_lookup_from_table() is close to the point where it would be
> cleaner to use a wrapper function that only saves and restores the
> transport ports. Then the "goto"s could be avoided. But I am not sure
> that it crosses that point.
>
Third patch adds in_port to the mix, and as ‘old_in_port’ is needed in the miss-handling part, so it is easier to keep them together.
> Acked-by: Ben Pfaff <blp at nicira.com>
Thanks, pushed to master,
Jarno
More information about the dev
mailing list