On 5/28/26 8:40 AM, Geliang Tang wrote:
From: Geliang Tang<[email protected]>

An MPTCP-specific version of struct nvmet_tcp_proto_ops is implemented
for listen sockets. It is assigned to port->proto_ops when the transport
type is MPTCP.

Dedicated MPTCP helpers are introduced for setting listen socket options.
The set_nodelay and set_priority helpers set the values on all existing
subflows using mptcp_for_each_subflow(). The set_reuseaddr helper only
applies to the first subflow. The values are then synchronized to other
newly created subflows in sync_socket_options().

Cc: Hannes Reinecke<[email protected]>
Cc: John Meneghini<[email protected]>
Cc: Randy Jennings<[email protected]>
Cc: Nilay Shroff<[email protected]>
Co-developed-by: zhenwei pi<[email protected]>
Signed-off-by: zhenwei pi<[email protected]>
Co-developed-by: Hui Zhu<[email protected]>
Signed-off-by: Hui Zhu<[email protected]>
Co-developed-by: Gang Yan<[email protected]>
Signed-off-by: Gang Yan<[email protected]>
Signed-off-by: Geliang Tang<[email protected]>
---
  drivers/nvme/target/tcp.c | 13 ++++++++++++
  include/net/mptcp.h       |  8 ++++++++
  net/mptcp/sockopt.c       | 42 +++++++++++++++++++++++++++++++++++++++
  3 files changed, 63 insertions(+)

Again same comment as earlier, split this into two patches.
One patch for net/ implementation where we define and export
mptcp helpers and another patch specific to nvme/ implementation
which consume those helpers.

Thanks,
--Nilay

Reply via email to