aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/hw/rss_api.py
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2025-07-18 22:06:58 +0000
committerJakub Kicinski <[email protected]>2025-07-22 00:48:33 +0000
commit51c5fd09e1b457eed103a22893603fb83a818162 (patch)
tree3feb12435cd51cba37fc64fac3e14791b9513871 /tools/testing/selftests/drivers/net/hw/rss_api.py
parenttcp: add tcp_sock_set_maxseg (diff)
downloadkernel-51c5fd09e1b457eed103a22893603fb83a818162.tar.gz
kernel-51c5fd09e1b457eed103a22893603fb83a818162.zip
mptcp: add TCP_MAXSEG sockopt support
The TCP_MAXSEG socket option is currently not supported by MPTCP, mainly because it has never been requested before. But there are still valid use-cases, e.g. with HAProxy. This patch adds its support in MPTCP by propagating the value to all subflows. The get part looks at the value on the first subflow, to be as closed as possible to TCP. Only one value can be returned for the cached MSS, so this can come only from one subflow. Similar to mptcp_setsockopt_first_sf_only(), a generic helper mptcp_setsockopt_all_subflows() is added to set sockopt for each subflows of the mptcp socket. Add a new member for struct mptcp_sock to store the TCP_MAXSEG value, and return this value in getsockopt. Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/515 Signed-off-by: Geliang Tang <[email protected]> Reviewed-by: Matthieu Baerts (NGI0) <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/rss_api.py')
0 files changed, 0 insertions, 0 deletions