Netdev List
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: Aahil Awatramani <aahila@google.com>,
	David Dillow <dave@thedillows.org>,
	 Mahesh Bandewar <maheshb@google.com>,
	Jay Vosburgh <j.vosburgh@gmail.com>,
	Hangbin Liu <liuhangbin@gmail.com>,
	 Andy Gospodarek <andy@greyhouse.net>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	 Jakub Kicinski <kuba@kernel.org>,
	Martin KaFai Lau <martin.lau@kernel.org>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Jiri Pirko <jiri@resnulli.us>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v7] bonding: Add independent control state machine
Date: Tue, 06 Feb 2024 13:17:11 +0100	[thread overview]
Message-ID: <726c4945db02fbb130397131b13132a89697986c.camel@redhat.com> (raw)
In-Reply-To: <20240202175858.1573852-1-aahila@google.com>

On Fri, 2024-02-02 at 17:58 +0000, Aahil Awatramani wrote:
> Add support for the independent control state machine per IEEE
> 802.1AX-2008 5.4.15 in addition to the existing implementation of the
> coupled control state machine.
> 
> Introduces two new states, AD_MUX_COLLECTING and AD_MUX_DISTRIBUTING in
> the LACP MUX state machine for separated handling of an initial
> Collecting state before the Collecting and Distributing state. This
> enables a port to be in a state where it can receive incoming packets
> while not still distributing. This is useful for reducing packet loss when
> a port begins distributing before its partner is able to collect.
> 
> Added new functions such as bond_set_slave_tx_disabled_flags and
> bond_set_slave_rx_enabled_flags to precisely manage the port's collecting
> and distributing states. Previously, there was no dedicated method to
> disable TX while keeping RX enabled, which this patch addresses.
> 
> Note that the regular flow process in the kernel's bonding driver remains
> unaffected by this patch. The extension requires explicit opt-in by the
> user (in order to ensure no disruptions for existing setups) via netlink
> support using the new bonding parameter coupled_control. The default value
> for coupled_control is set to 1 so as to preserve existing behaviour.
> 
> Signed-off-by: Aahil Awatramani <aahila@google.com>

A couple of minor nits: you should have retained by acked-by from the
previous revision

> v7:
>   Removed coupled_control from procfs
> v6:
>   Added coupled_control to procfs
> v5:
>   Merge documentation patch with changes patch
>   Add version history in comment description
> v4:
>   Remove inline references from c source files
> v3:
>   Edited commit description
>   Edited documentation description
>   Changed function names
>   Only allow coupled_control change when the bond is down
> v2:
>   Removed sysfs changes
>   Added documentation for new paramater
>   Renamed parameter to coupled_control
>   Update bond_set_slave_inactive_flags() with a 8023ad check

The changelog section should be after a '---' separator, to avoid it
landing into the git history. No need to repost.

Cheers,

Paolo


  parent reply	other threads:[~2024-02-06 12:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-02 17:58 [PATCH net-next v7] bonding: Add independent control state machine Aahil Awatramani
2024-02-06  9:27 ` Hangbin Liu
2024-02-06 12:17 ` Paolo Abeni [this message]
2024-02-06 12:30 ` patchwork-bot+netdevbpf

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=726c4945db02fbb130397131b13132a89697986c.camel@redhat.com \
    --to=pabeni@redhat.com \
    --cc=aahila@google.com \
    --cc=andy@greyhouse.net \
    --cc=daniel@iogearbox.net \
    --cc=dave@thedillows.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=j.vosburgh@gmail.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liuhangbin@gmail.com \
    --cc=maheshb@google.com \
    --cc=martin.lau@kernel.org \
    --cc=netdev@vger.kernel.org \
    /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