[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161109174138.410b4385@griffin>
Date: Wed, 9 Nov 2016 17:41:38 +0100
From: Jiri Benc <jbenc@...hat.com>
To: Pravin B Shelar <pshelar@....org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2 4/7] vxlan: improve vxlan route lookup
checks.
On Sat, 5 Nov 2016 11:45:54 -0700, Pravin B Shelar wrote:
> Move route sanity check to respective vxlan[4/6]_get_route functions.
> This allows us to perform all sanity checks before caching the dst so
> that we can avoid these checks on subsequent packets.
> This give move accurate metadata information for packet from
> fill_metadata_dst().
The description is misleading, it applies only to one vxlan lwt use case
(openvswitch). For other use cases, the patch has no effect.
I found the current handling of route lookup results irritating, too.
The reason I did not change this while doing vxlan cleanup some time
ago was that I assumed we should not increase dev stats from
vxlan_fill_metadata_dst. Isn't that so?
Jiri
Powered by blists - more mailing lists