[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52a0b194-0f95-c285-cf1d-7a8b786678b8@cumulusnetworks.com>
Date: Wed, 28 Feb 2018 15:20:43 +0200
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: Roopa Prabhu <roopa@...ulusnetworks.com>, davem@...emloft.net,
netdev@...r.kernel.org
Cc: dsa@...ulusnetworks.com, idosch@...lanox.com, pabeni@...hat.com
Subject: Re: [PATCH net-next v2 5/5] ipv6: route: dissect flow in input path
if fib rules need it
On 28/02/18 05:52, Roopa Prabhu wrote:
> From: Roopa Prabhu <roopa@...ulusnetworks.com>
>
> Dissect flow in fwd path if fib rules require it. Controlled by
> a flag to avoid penatly for the common case. Flag is set when fib
> rules with sport, dport and proto match that require flow dissect
> are installed. Also passes the dissected hash keys to the multipath
> hash function when applicable to avoid dissecting the flow again.
> icmp packets will continue to use inner header for hash
> calculations.
>
> Signed-off-by: Roopa Prabhu <roopa@...ulusnetworks.com>
> ---
> include/net/ip6_fib.h | 25 +++++++++++++++++++++++++
> include/net/ip6_route.h | 4 +++-
> include/net/netns/ipv6.h | 3 ++-
> net/ipv6/fib6_rules.c | 16 ++++++++++++++++
> net/ipv6/icmp.c | 2 +-
> net/ipv6/route.c | 34 +++++++++++++++++++++++++---------
> 6 files changed, 72 insertions(+), 12 deletions(-)
>
Looks good,
Acked-by: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Powered by blists - more mailing lists