summaryrefslogtreecommitdiff
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@OSS.NVIDIA.COM>2021-05-17 21:15:19 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-18 23:27:32 +0300
commit4253b4986f98da4bfcb6a24d3fc6ff19f28e8420 (patch)
treef6d5d7afd5f9dcd7c529212609df275417aaf7f8 /crypto/algapi.c
parentce5c9c20d364f156c885efed8c71fca2945db00f (diff)
downloadlinux-4253b4986f98da4bfcb6a24d3fc6ff19f28e8420.tar.xz
ipv4: Add custom multipath hash policy
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@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions