[PATCH mptcp-next v9 0/4] refactor push pending

Geliang Tang posted 4 patches 1 year, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/multipath-tcp/mptcp_net-next tags/patchew/20221018110312.22510-1-geliang.tang@suse.com
Maintainers: Mat Martineau <mathew.j.martineau@linux.intel.com>, Matthieu Baerts <matthieu.baerts@tessares.net>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
net/mptcp/protocol.c | 183 +++++++++++++++++++------------------------
net/mptcp/protocol.h |   4 +-
net/mptcp/sched.c    |  61 +++++++--------
3 files changed, 111 insertions(+), 137 deletions(-)
[PATCH mptcp-next v9 0/4] refactor push pending
Posted by Geliang Tang 1 year, 6 months ago
v9:
- move "register default scheduler" out of this series.
- add missing "first = false" in patch 4
- patch 2 could be merged before the commit "mptcp: add
struct mptcp_sched_ops" as a non-bpf cleanup.

v8:
- merge "register default scheduler" into this series.
- Move "multi-subflow scheduling" out of this series.
- This series should be merged between the commit "mptcp: add get_subflow
wrappers" and "bpf: Add bpf_mptcp_sched_ops", except the squash-to patches.

v7:
- update delegate sending in patch 10
- rebase to export/20221011T063543.

v6:
- drop all msk->last_snd, add last_snd variable instead in patch 13
- fix lock_sock issue in patch 3
- merge squash-to patches

v5:
- address Mat's comments in v4.

v4:
- update __mptcp_subflow_push_pending as Mat suggested.
- add more patches from "BPF redundant scheduler" series.

v3:
- add a cleanup patch.
- remove msk->last_snd in mptcp_subflow_get_send().
- add the loop that calls the scheduler again in __mptcp_push_pending().

v2:
- add snd_burst check in dfrags loop as Mat suggested.

Refactor __mptcp_push_pending() and __mptcp_subflow_push_pending() to
remove duplicate code and support redundant scheduler more easily in
__mptcp_subflow_push_pending().

Geliang Tang (4):
  Squash to "mptcp: add get_subflow wrappers"
  mptcp: use msk instead of mptcp_sk
  mptcp: change 'first' as a parameter
  mptcp: refactor push_pending logic

 net/mptcp/protocol.c | 183 +++++++++++++++++++------------------------
 net/mptcp/protocol.h |   4 +-
 net/mptcp/sched.c    |  61 +++++++--------
 3 files changed, 111 insertions(+), 137 deletions(-)

-- 
2.35.3
Re: [PATCH mptcp-next v9 0/4] refactor push pending
Posted by Mat Martineau 1 year, 6 months ago
On Tue, 18 Oct 2022, Geliang Tang wrote:

> v9:
> - move "register default scheduler" out of this series.
> - add missing "first = false" in patch 4
> - patch 2 could be merged before the commit "mptcp: add
> struct mptcp_sched_ops" as a non-bpf cleanup.
>

The first 3 patches look good to me:

Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>


I have some other comments for patch 4.


> v8:
> - merge "register default scheduler" into this series.
> - Move "multi-subflow scheduling" out of this series.
> - This series should be merged between the commit "mptcp: add get_subflow
> wrappers" and "bpf: Add bpf_mptcp_sched_ops", except the squash-to patches.
>
> v7:
> - update delegate sending in patch 10
> - rebase to export/20221011T063543.
>
> v6:
> - drop all msk->last_snd, add last_snd variable instead in patch 13
> - fix lock_sock issue in patch 3
> - merge squash-to patches
>
> v5:
> - address Mat's comments in v4.
>
> v4:
> - update __mptcp_subflow_push_pending as Mat suggested.
> - add more patches from "BPF redundant scheduler" series.
>
> v3:
> - add a cleanup patch.
> - remove msk->last_snd in mptcp_subflow_get_send().
> - add the loop that calls the scheduler again in __mptcp_push_pending().
>
> v2:
> - add snd_burst check in dfrags loop as Mat suggested.
>
> Refactor __mptcp_push_pending() and __mptcp_subflow_push_pending() to
> remove duplicate code and support redundant scheduler more easily in
> __mptcp_subflow_push_pending().
>
> Geliang Tang (4):
>  Squash to "mptcp: add get_subflow wrappers"
>  mptcp: use msk instead of mptcp_sk
>  mptcp: change 'first' as a parameter
>  mptcp: refactor push_pending logic
>
> net/mptcp/protocol.c | 183 +++++++++++++++++++------------------------
> net/mptcp/protocol.h |   4 +-
> net/mptcp/sched.c    |  61 +++++++--------
> 3 files changed, 111 insertions(+), 137 deletions(-)
>
> -- 
> 2.35.3
>
>
>

--
Mat Martineau
Intel
Re: [PATCH mptcp-next v9 0/4] refactor push pending
Posted by Matthieu Baerts 1 year, 6 months ago
Hi Geliang, Mat,

On 19/10/2022 02:16, Mat Martineau wrote:
> On Tue, 18 Oct 2022, Geliang Tang wrote:
> 
>> v9:
>> - move "register default scheduler" out of this series.
>> - add missing "first = false" in patch 4
>> - patch 2 could be merged before the commit "mptcp: add
>> struct mptcp_sched_ops" as a non-bpf cleanup.
>>
> 
> The first 3 patches look good to me:
> 
> Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>

Thank you for the patches and the reviews!

I just added these patches in our tree (feat. with net-next) with Mat's
RvB tag:

- f7b33377ef44: "squashed" patch 1/4 in "mptcp: add get_subflow wrappers"
- abc20912434f: tg:msg: update commit message
- 810d6dba28d6: mptcp: use msk instead of mptcp_sk
- 3afbefdac9ae: mptcp: change 'first' as a parameter
- Results: e4c052c32f02..1f94545f93dd (export)

Tests are now in progress:

https://cirrus-ci.com/github/multipath-tcp/mptcp_net-next/export/20221020T142332

Cheers,
Matt
-- 
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net