mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Dillow <dave@thedillows.org>
To: jay.vosburgh@canonical.com
Cc: aahila@google.com, andy@greyhouse.net, daniel@iogearbox.net,
	davem@davemloft.net, edumazet@google.com,
	herbert@gondor.apana.org.au, kuba@kernel.org,
	linux-kernel@vger.kernel.org, maheshb@google.com,
	martin.lau@kernel.org, netdev@vger.kernel.org, pabeni@redhat.com
Subject: Re: [PATCH next] bonding: Extending LACP MUX State Machine to include a Collecting State.
Date: Thu, 21 Dec 2023 21:38:01 -0800	[thread overview]
Message-ID: <aaa613cf32a940eb26e6713650555a1efe181ea9.camel@thedillows.org> (raw)
In-Reply-To: <21529.1703184528@famine>

> I haven't read the patch in detail yet, but my overall question
> is: why do we need this?  This adds significant complexity to the
> state machine logic.  What real problem is this solving, i.e., what
> examples do you have of systems where a port is "in a state where
> it can receive incoming packets while not still distributing"?

Any time we add a new link to an aggregator, or the bond selects a new
aggegrator based on the selection policy, there is currently a race
where we start distributing traffic before our partner (usually a
switch) is ready to start collecting it, leading to dropped packets if
we're running traffic over the bond. We reliably hit this window,
making what should be a non-issue into a customer-visible packet-loss
event. Implementing the full state machine closes the window and makes
these maintenance events lossless.


  parent reply	other threads:[~2023-12-22  6:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-21  2:36 Aahil Awatramani
2023-12-21 17:35 ` Simon Horman
2024-01-04 23:26   ` Aahil Awatramani
2023-12-21 18:48 ` Jay Vosburgh
2023-12-21 21:39   ` Mahesh Bandewar (महेश बंडेवार)
2023-12-22  5:38   ` David Dillow [this message]
2024-01-04 23:35   ` Aahil Awatramani
2023-12-22  3:23 ` Hangbin Liu
2024-01-04 23:26   ` Aahil Awatramani
2023-12-25  8:09 ` kernel test robot

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=aaa613cf32a940eb26e6713650555a1efe181ea9.camel@thedillows.org \
    --to=dave@thedillows.org \
    --cc=aahila@google.com \
    --cc=andy@greyhouse.net \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=jay.vosburgh@canonical.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maheshb@google.com \
    --cc=martin.lau@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®