From: Paolo Abeni <pabeni@redhat.com>
To: Mat Martineau <mathew.j.martineau@linux.intel.com>
Cc: mptcp@lists.linux.dev
Subject: Re: [PATCH mptcp-next 2/6] mptcp: introduce and use mptcp_pm_send_ack()
Date: Mon, 04 Jul 2022 10:06:57 +0200 [thread overview]
Message-ID: <7d6ea030c8f874a38754ff9a8213044148cfd0dc.camel@redhat.com> (raw)
In-Reply-To: <e12db843-9a-64d2-4d4e-ef14655354ab@linux.intel.com>
On Fri, 2022-07-01 at 17:13 -0700, Mat Martineau wrote:
> On Fri, 1 Jul 2022, Paolo Abeni wrote:
>
> > The in-kernel PM has a bit of duplicate code related to ack
> > generation. Create a new helper factoring out the PM-specific
> > needs and use it in a couple of places.
> >
> > As a bonus, mptcp_subflow_send_ack() is not used anymore
> > outside its own compilation unit and can become static.
> >
> > Signed-off-by: Paolo Abeni <pabeni@redhat.com>
>
> The rest of the series looks good, I ran the new tests and checked the
> pcaps too.
>
> However, there's a conflict in this patch with the export branch. Can you
> rebase and repost?
I'm surprised by the conflict. I likely messed-up something in my tree.
I'll rebase.
> Something else I noticed that is out of scope for this series, but
> something we should think about addressing:
>
> The RFC says about MP_PRIO that "this signal applies to a single
> direction, and so the sender of this option could choose to continue using
> the subflow to send data even if it has signaled B=1 to the other host.".
>
> However, we only have a single 'backup' value stored per subflow. If
> there's a netlink request to change the backup bit, it affects both
> outgoing scheduling and sends MP_PRIO to the peer to affect incoming
> traffic. A received MP_PRIO would affect outgoing packet scheduling on
> that subflow, but the peer may choose to schedule differently (and we do
> handle this ok). Would it be worth it to separate "incoming priority" and
> "outgoing priority"?
Indeed, that could be worthy. Note that we have a very similar issue
for fallback to TCP: according to the RFC is again an unidirectional
status, but we have a single bit info for both directions.
I guess the relevant changes (both for MP_PRIO and even more for
fallback could be a bit invasive, let's see...
Cheers,
Paolo
next prev parent reply other threads:[~2022-07-04 8:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-01 10:05 [PATCH mptcp-next 0/6] mptcp: support for MPC prio exchange Paolo Abeni
2022-07-01 10:05 ` [PATCH mptcp-next 1/6] mptcp: fix local endpoint acconting Paolo Abeni
2022-07-02 0:04 ` Mat Martineau
2022-07-04 8:02 ` Paolo Abeni
2022-07-04 16:09 ` Matthieu Baerts
2022-07-01 10:05 ` [PATCH mptcp-next 2/6] mptcp: introduce and use mptcp_pm_send_ack() Paolo Abeni
2022-07-02 0:13 ` Mat Martineau
2022-07-04 8:06 ` Paolo Abeni [this message]
2022-07-01 10:05 ` [PATCH mptcp-next 3/6] mptcp: address lookup improvements Paolo Abeni
2022-07-01 10:05 ` [PATCH mptcp-next 4/6] mptcp: allow the in kernel PM to set MPC subflow priority Paolo Abeni
2022-07-01 10:05 ` [PATCH mptcp-next 5/6] mptcp: more accurate MPC endpoint tracking Paolo Abeni
2022-07-01 10:05 ` [PATCH mptcp-next 6/6] selftests: mptcp: add MPC backup tests Paolo Abeni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7d6ea030c8f874a38754ff9a8213044148cfd0dc.camel@redhat.com \
--to=pabeni@redhat.com \
--cc=mathew.j.martineau@linux.intel.com \
--cc=mptcp@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox