netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms@kernel.org>
To: Vishal Badole <Vishal.Badole@amd.com>
Cc: Shyam-sundar.S-k@amd.com, andrew+netdev@lunn.ch,
	davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	pabeni@redhat.com, Thomas.Lendacky@amd.com,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	Raju.Rangoju@amd.com, stable@vger.kernel.org
Subject: Re: [PATCH net V3] amd-xgbe: Fix to ensure dependent features are toggled with RX checksum offload
Date: Mon, 28 Apr 2025 13:54:24 +0100	[thread overview]
Message-ID: <20250428125424.GC3339421@horms.kernel.org> (raw)
In-Reply-To: <20250424130248.428865-1-Vishal.Badole@amd.com>

On Thu, Apr 24, 2025 at 06:32:48PM +0530, Vishal Badole wrote:
> According to the XGMAC specification, enabling features such as Layer 3
> and Layer 4 Packet Filtering, Split Header and Virtualized Network support
> automatically selects the IPC Full Checksum Offload Engine on the receive
> side.
> 
> When RX checksum offload is disabled, these dependent features must also
> be disabled to prevent abnormal behavior caused by mismatched feature
> dependencies.
> 
> Ensure that toggling RX checksum offload (disabling or enabling) properly
> disables or enables all dependent features, maintaining consistent and
> expected behavior in the network device.
> 
> v2->v3:
> -------
> - Removed RSS feature toggling as checksum offloading functions correctly
> without it
> 
> v1->v2:
> -------
> - Combine 2 patches into a single patch
> - Update the "Fix: tag"
> - Add necessary changes to support earlier versions of the hardware as well

Hi Vishal,

I don't think there is any need to resend because of this.
But, for future reference, these days it is preferred to put changelog
information, such as the above two paragraphs, below the scissors ("---").

This way they are present in mailing list archives and so on.
But are omitted from git history (because the patch description is
truncated at the scissors).

> 
> Cc: stable@vger.kernel.org
> Fixes: 1a510ccf5869 ("amd-xgbe: Add support for VXLAN offload capabilities")
> Signed-off-by: Vishal Badole <Vishal.Badole@amd.com>
> ---
>  drivers/net/ethernet/amd/xgbe/xgbe-desc.c |  9 +++++++--
>  drivers/net/ethernet/amd/xgbe/xgbe-dev.c  | 24 +++++++++++++++++++++--
>  drivers/net/ethernet/amd/xgbe/xgbe-drv.c  | 11 +++++++++--
>  drivers/net/ethernet/amd/xgbe/xgbe.h      |  4 ++++
>  4 files changed, 42 insertions(+), 6 deletions(-)

Reviewed-by: Simon Horman <horms@kernel.org>


  reply	other threads:[~2025-04-28 12:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-24 13:02 [PATCH net V3] amd-xgbe: Fix to ensure dependent features are toggled with RX checksum offload Vishal Badole
2025-04-28 12:54 ` Simon Horman [this message]
2025-04-28 21:10 ` 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=20250428125424.GC3339421@horms.kernel.org \
    --to=horms@kernel.org \
    --cc=Raju.Rangoju@amd.com \
    --cc=Shyam-sundar.S-k@amd.com \
    --cc=Thomas.Lendacky@amd.com \
    --cc=Vishal.Badole@amd.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=stable@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;
as well as URLs for NNTP newsgroup(s).