[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0bd371a1-ac51-ebfd-31f9-e897247c4184@cumulusnetworks.com>
Date: Fri, 14 Jun 2019 13:55:09 +0300
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: Stephen Suryaputra <ssuryaextr@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v3] ipv4: Support multipath hashing on inner IP
pkts for GRE tunnel
On 13/06/2019 21:38, Stephen Suryaputra wrote:
> Multipath hash policy value of 0 isn't distributing since the outer IP
> dest and src aren't varied eventhough the inner ones are. Since the flow
> is on the inner ones in the case of tunneled traffic, hashing on them is
> desired.
>
> This is done mainly for IP over GRE, hence only tested for that. But
> anything else supported by flow dissection should work.
>
> v2: Use skb_flow_dissect_flow_keys() directly so that other tunneling
> can be supported through flow dissection (per Nikolay Aleksandrov).
> v3: Remove accidental inclusion of ports in the hash keys and clarify
> the documentation (Nikolay Alexandrov).
> Signed-off-by: Stephen Suryaputra <ssuryaextr@...il.com>
> ---
> Documentation/networking/ip-sysctl.txt | 1 +
> net/ipv4/route.c | 17 +++++++++++++++++
> net/ipv4/sysctl_net_ipv4.c | 2 +-
> 3 files changed, 19 insertions(+), 1 deletion(-)
>
Looks good to me,
Signed-off-by: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Powered by blists - more mailing lists