From: Pavel Balaev <balaevpa@infotecs.ru>
To: <netdev@vger.kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Jonathan Corbet <corbet@lwn.net>,
Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>,
David Ahern <dsahern@kernel.org>, Shuah Khan <shuah@kernel.org>,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
<linux-doc@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Ido Schimmel <idosch@nvidia.com>
Subject: [PATCH v6 net-next 0/3] net: multipath routing: configurable seed
Date: Wed, 28 Apr 2021 15:30:00 +0300 [thread overview]
Message-ID: <YIlVSJaqB1ChYG92@rnd> (raw)
This is the sixth version of the mpath seed series.
This patch series adds ability for a user to assign seed value
to multipath route hashes.
changes v6:
- Fix author name and surname position
changes v5:
- patch was splited to patch series
- remove CONFIG_IP_ROUTE_MULTIPATH define from flow_multipath_hash_from_keys(),
it used in both IPv4/IPv6 protos.
The mainlining discussion history of this branch:
v5: https://lore.kernel.org/netdev/YIgu4hLNSa69%2FoFZ@rnd/
v4: https://lore.kernel.org/netdev/YILPPCyMjlnhPmEN@rnd/
Pavel Balaev (3):
net/ipv4: multipath routing: configurable seed
net/ipv6: multipath routing: configurable seed
selftests/net/forwarding: configurable seed tests
Documentation/networking/ip-sysctl.rst | 14 +
include/net/flow_dissector.h | 2 +
include/net/netns/ipv4.h | 2 +
include/net/netns/ipv6.h | 3 +
net/core/flow_dissector.c | 7 +
net/ipv4/route.c | 10 +-
net/ipv4/sysctl_net_ipv4.c | 97 ++++++
net/ipv6/route.c | 10 +-
net/ipv6/sysctl_net_ipv6.c | 96 ++++++
tools/testing/selftests/net/forwarding/Makefile | 1 +
tools/testing/selftests/net/forwarding/lib.sh | 28 ++
.../net/forwarding/router_mpath_seed.sh (new +x) | 347 +++++++++++++++++++++
12 files changed, 615 insertions(+), 2 deletions(-)
reply other threads:[~2021-04-28 12:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YIlVSJaqB1ChYG92@rnd \
--to=balaevpa@infotecs.ru \
--cc=christophe.jaillet@wanadoo.fr \
--cc=corbet@lwn.net \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=idosch@nvidia.com \
--cc=kuba@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).