[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c5125dc6-2f0e-1678-5fdd-eb99273858bf@gmail.com>
Date: Mon, 17 May 2021 19:45:06 -0600
From: David Ahern <dsahern@...il.com>
To: Ido Schimmel <idosch@...dia.com>, netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, petrm@...dia.com,
roopa@...dia.com, nikolay@...dia.com, ssuryaextr@...il.com,
mlxsw@...dia.com
Subject: Re: [PATCH net-next 07/10] ipv6: Add custom multipath hash policy
On 5/17/21 12:15 PM, Ido Schimmel wrote:
> Add a new multipath hash policy where the packet fields used for hash
> calculation are determined by user space via the
> fib_multipath_hash_fields sysctl that was introduced in the previous
> patch.
>
> The current set of available packet fields includes both outer and inner
> fields, which requires two invocations of the flow dissector. Avoid
> unnecessary dissection of the outer or inner flows by skipping
> dissection if none of the outer or inner fields are required.
>
> In accordance with the existing policies, when an skb is not available,
> packet fields are extracted from the provided flow key. In which case,
> only outer fields are considered.
>
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
> ---
> Documentation/networking/ip-sysctl.rst | 2 +
> net/ipv6/route.c | 125 +++++++++++++++++++++++++
> net/ipv6/sysctl_net_ipv6.c | 3 +-
> 3 files changed, 129 insertions(+), 1 deletion(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists