From: Geliang Tang <tanggeliang@kylinos.cn>
v4:
- a new patch to set nvme iopolicy as Nilay suggested.
- resend all set to trigger AI review.
v3:
- update the implementation of sock_set_nodelay: originally it only set
the first subflow, but now it sets every subflow.
- use sk_is_msk helper in this set.
- update the selftest to perform testing under a multi-interface
environment.
v2:
- Patch 1 fixes the timeout issue reported in v1, thanks to Paolo and Gang
Yan for their help.
- Patch 5 implements an MPTCP-specific sock_set_syncnt helper.
This series (previously named "MPTCP support to 'NVME over TCP'") had three
RFC versions sent to Hannes in May, with subsequent revisions based on his
input. Following that, I initiated the process of upstreaming the dependent
"implement mptcp read_sock" series to the main MPTCP repository, which has
been merged into net-next recently.
Depends on: mptcp: fix stall because of data_ready
Without this fix, NVMe-over-MPTCP test will probabilistically fail.
Based-on: <20260228011511.440437-1-gang.yan@linux.dev>
Geliang Tang (8):
mptcp: add sk_is_msk helper
nvmet-tcp: add mptcp support
nvme-tcp: add mptcp support
mptcp: add sock_set_nodelay
mptcp: add sock_set_reuseaddr
mptcp: add sock_set_syncnt
selftests: mptcp: add NVMe-over-MPTCP test
selftests: mptcp: nvme: set iopolicy
drivers/nvme/host/tcp.c | 26 ++-
drivers/nvme/target/configfs.c | 1 +
drivers/nvme/target/tcp.c | 38 +++-
include/linux/nvme.h | 1 +
include/net/mptcp.h | 27 +++
net/mptcp/protocol.c | 51 +++++
tools/testing/selftests/net/mptcp/config | 7 +
.../testing/selftests/net/mptcp/mptcp_nvme.sh | 187 ++++++++++++++++++
8 files changed, 335 insertions(+), 3 deletions(-)
create mode 100755 tools/testing/selftests/net/mptcp/mptcp_nvme.sh
--
2.53.0