All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni at redhat.com>
To: mptcp at lists.01.org
Subject: Re: [MPTCP] [RFC PATCH v2 2/8] mptcp: update per subflow unacked sequence on pkt reception
Date: Fri, 23 Aug 2019 18:37:33 +0200	[thread overview]
Message-ID: <49dd44ae2a5e22104b5d1f54bf08f7568ffd964e.camel@redhat.com> (raw)
In-Reply-To: alpine.OSX.2.21.1908221624420.27597@gargpiyu-mobl1.amr.corp.intel.com

[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]

Hi,

Thank you for the feedback!

On Thu, 2019-08-22 at 17:34 -0700, Mat Martineau wrote:
> Rather than trying to sync subflow->snd_una values for the purpose of 
> expanding them to 64 bits, the subflow could record the 32-bit value and 
> let the MPTCP-level socket do the expansion? Then the subflows only need 
> to track their most recent data ack: the ack value, size (32 or 64), and 
> whether it's been updated since the last access by the MPTCP-level socket. 

I think that tracking the most recent data ack can become almost as
tricky, if the peer interleaves 32 and 64 bits ack (IIRC the RFC, it
can).

> The MPTCP-level socket has more information to know whether to reject an 
> ambiguous 32-bit ack. Latency between the update of subflow->snd_una and 
> the check of that value by the MPTCP socket is still an issue, but could 
> be more manageable.

Since expanding to 64 bits looks safer with msk->snd_una, and moving
the msk->snd_una updates into mptcp_incoming_options() should be quite
doable. What about that option?

Yep, we need an additional lock/atomic operation, but <quote> Premature
optimization is the root of all evil </quote>

> Side note: I know we have to handle what compliant peers send to us, but 
> maybe we should keep sending only 64-bit acks!

I think we already do that ?!?

Cheers,

Paolo


             reply	other threads:[~2019-08-23 16:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-23 16:37 Paolo Abeni [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-08-23 17:40 [MPTCP] [RFC PATCH v2 2/8] mptcp: update per subflow unacked sequence on pkt reception Mat Martineau
2019-08-23  0:34 Mat Martineau
2019-08-22 13:47 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=49dd44ae2a5e22104b5d1f54bf08f7568ffd964e.camel@redhat.com \
    --to=unknown@example.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.