[RFC PATCH mptcp-next v11 0/4] mptcp: Fast Open: Initiator

Dmytro Shytyi posted 4 patches 1 year, 6 months ago
Failed in applying to current master (apply log)
include/net/mptcp.h  |  9 +++++++++
include/net/tcp.h    |  3 +++
net/ipv4/tcp.c       | 21 ++++++++++++++++-----
net/mptcp/Makefile   |  2 +-
net/mptcp/fastopen.c | 37 +++++++++++++++++++++++++++++++++++++
net/mptcp/protocol.c | 35 +++++++++++++++++++++++++++++++----
net/mptcp/protocol.h |  5 +++++
net/mptcp/sockopt.c  |  3 +++
8 files changed, 105 insertions(+), 10 deletions(-)
create mode 100644 net/mptcp/fastopen.c
[RFC PATCH mptcp-next v11 0/4] mptcp: Fast Open: Initiator
Posted by Dmytro Shytyi 1 year, 6 months ago
These patches focus on the Initiator side.
These patches implement: sendto(..., ..., ..., MSG_FASTOPEN, ..., ...);
We would like to credit Paulo Abeni, Mat Martineau, Matthieu Baerts and
Benjamin Hesmans for advices and ideas that improved these patches.
Without this collaboration this state of work would not be presented.

Origins of these patches were in the root of discovery of the
possibility to _reuse the TCP FASTOPEN option in the linux
upstream MPTCP_ (First commit was sent to the mailing list on 22 OCT 
2021: see https://lore.kernel.org/mptcp/
17ca66cd439.10a0a3ce11621928.1543611905599720914@shytyi.net/').

Dmytro Shytyi (4):
  mptcp: add mptcp_setsockopt_fastopen
  mptcp: add mptcp_stream_connect to *.h
  mptcp: add mptcp_subflow_conn_sock()
  mptcp: reuse tcp_sendmsg_fastopen()

 include/net/mptcp.h  |  9 +++++++++
 include/net/tcp.h    |  3 +++
 net/ipv4/tcp.c       | 21 ++++++++++++++++-----
 net/mptcp/Makefile   |  2 +-
 net/mptcp/fastopen.c | 37 +++++++++++++++++++++++++++++++++++++
 net/mptcp/protocol.c | 35 +++++++++++++++++++++++++++++++----
 net/mptcp/protocol.h |  5 +++++
 net/mptcp/sockopt.c  |  3 +++
 8 files changed, 105 insertions(+), 10 deletions(-)
 create mode 100644 net/mptcp/fastopen.c

-- 
2.25.1
Re: [RFC PATCH mptcp-next v11 0/4] mptcp: Fast Open: Initiator
Posted by Paolo Abeni 1 year, 6 months ago
On Mon, 2022-09-26 at 01:25 +0200, Dmytro Shytyi wrote:
> These patches focus on the Initiator side.
> These patches implement: sendto(..., ..., ..., MSG_FASTOPEN, ..., ...);
> We would like to credit Paulo Abeni, Mat Martineau, Matthieu Baerts and
> Benjamin Hesmans for advices and ideas that improved these patches.
> Without this collaboration this state of work would not be presented.
> 
> Origins of these patches were in the root of discovery of the
> possibility to _reuse the TCP FASTOPEN option in the linux
> upstream MPTCP_ (First commit was sent to the mailing list on 22 OCT 
> 2021: see https://lore.kernel.org/mptcp/
> 17ca66cd439.10a0a3ce11621928.1543611905599720914@shytyi.net/').
> 
> Dmytro Shytyi (4):
>   mptcp: add mptcp_setsockopt_fastopen
>   mptcp: add mptcp_stream_connect to *.h
>   mptcp: add mptcp_subflow_conn_sock()
>   mptcp: reuse tcp_sendmsg_fastopen()
> 
>  include/net/mptcp.h  |  9 +++++++++
>  include/net/tcp.h    |  3 +++
>  net/ipv4/tcp.c       | 21 ++++++++++++++++-----
>  net/mptcp/Makefile   |  2 +-
>  net/mptcp/fastopen.c | 37 +++++++++++++++++++++++++++++++++++++
>  net/mptcp/protocol.c | 35 +++++++++++++++++++++++++++++++----
>  net/mptcp/protocol.h |  5 +++++
>  net/mptcp/sockopt.c  |  3 +++
>  8 files changed, 105 insertions(+), 10 deletions(-)
>  create mode 100644 net/mptcp/fastopen.c
> 
Plase, on the next iteration include the rx-path-related patches (e.g.
patches 4, 5 and 6 from v9, updated with the relevant feedback).

Thanks,

Paolo
Re: [RFC PATCH mptcp-next v11 0/4] mptcp: Fast Open: Initiator
Posted by Dmytro Shytyi 1 year, 6 months ago
Hello Paolo,

I added the patches 4,5,6 from v9 and fixes based on the feedback. Will 
be present in the next version.

On 9/26/2022 4:52 PM, Paolo Abeni wrote:
> On Mon, 2022-09-26 at 01:25 +0200, Dmytro Shytyi wrote:
>> These patches focus on the Initiator side.
>> These patches implement: sendto(..., ..., ..., MSG_FASTOPEN, ..., ...);
>> We would like to credit Paulo Abeni, Mat Martineau, Matthieu Baerts and
>> Benjamin Hesmans for advices and ideas that improved these patches.
>> Without this collaboration this state of work would not be presented.
>>
>> Origins of these patches were in the root of discovery of the
>> possibility to _reuse the TCP FASTOPEN option in the linux
>> upstream MPTCP_ (First commit was sent to the mailing list on 22 OCT
>> 2021: see https://lore.kernel.org/mptcp/
>> 17ca66cd439.10a0a3ce11621928.1543611905599720914@shytyi.net/').
>>
>> Dmytro Shytyi (4):
>>    mptcp: add mptcp_setsockopt_fastopen
>>    mptcp: add mptcp_stream_connect to *.h
>>    mptcp: add mptcp_subflow_conn_sock()
>>    mptcp: reuse tcp_sendmsg_fastopen()
>>
>>   include/net/mptcp.h  |  9 +++++++++
>>   include/net/tcp.h    |  3 +++
>>   net/ipv4/tcp.c       | 21 ++++++++++++++++-----
>>   net/mptcp/Makefile   |  2 +-
>>   net/mptcp/fastopen.c | 37 +++++++++++++++++++++++++++++++++++++
>>   net/mptcp/protocol.c | 35 +++++++++++++++++++++++++++++++----
>>   net/mptcp/protocol.h |  5 +++++
>>   net/mptcp/sockopt.c  |  3 +++
>>   8 files changed, 105 insertions(+), 10 deletions(-)
>>   create mode 100644 net/mptcp/fastopen.c
>>
> Plase, on the next iteration include the rx-path-related patches (e.g.
> patches 4, 5 and 6 from v9, updated with the relevant feedback).
>
> Thanks,
>
> Paolo
>
>