From: Dimitri Daskalakis <dimitri.daskalakis1@gmail.com>
To: netdev-bot+sashiko@kernel.org
Cc: Dimitri Daskalakis <dimitri.daskalakis1@gmail.com>,
davem@davemloft.net, saeedm@nvidia.com, tariqt@nvidia.com,
mbloch@nvidia.com, leon@kernel.org, andrew+netdev@lunn.ch,
edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
gal@nvidia.com, cratiu@nvidia.com, dtatulea@nvidia.com,
noren@nvidia.com, cjubran@nvidia.com, netdev@vger.kernel.org
Subject: Re: [PATCH net-next] net/mlx5e: advertise tcp-data-split support
Date: Wed, 30 Sep 2026 11:56:36 -0700 [thread overview]
Message-ID: <20260930185641.3303158-1-dimitri.daskalakis1@gmail.com> (raw)
In-Reply-To: <179055126371.3145.7187403042173989856@kernel.org>
On Sun, Sep 27, 2026 at 11:21:03PM +0000, netdev-bot+sashiko@kernel.org wrote:
> > The ability to set tcp-data-split was introduced in
> > commit 46bcce5dfd33 ("net/mlx5e: Support ethtool tcp-data-split settings")
> > This commit dropped reporting from mlx5e_ethtool_get_ringparam()
> > without explaining why.
>
> [Severity: Low]
> The assignment added here is the same one that 46bcce5dfd33 removed from
> mlx5e_ethtool_get_ringparam(). The message also names both commits that
> led to the selftest failure.
>
> Should this have a Fixes: tag, for example:
>
> Fixes: 46bcce5dfd33 ("net/mlx5e: Support ethtool tcp-data-split settings")
>
> so that stable and backport tooling picks it up?
The feature is still usable. Without the advertisement some selftest
expectations break. That's why I did not include a Fixes: tag.
> > + kernel_param->tcp_data_split =
> > + (priv->channels.params.packet_merge.type == MLX5E_PACKET_MERGE_SHAMPO) ?
> > + ETHTOOL_TCP_DATA_SPLIT_ENABLED :
> > + ETHTOOL_TCP_DATA_SPLIT_DISABLED;
>
> [Severity: Medium]
> What does this report on a device that cannot do SHAMPO at all?
>
> [...]
>
> Should the value stay ETHTOOL_TCP_DATA_SPLIT_UNKNOWN when the device
> lacks SHAMPO support? For example, the driver could check the SHAMPO
> capability, or whether NETIF_F_GRO_HW is in priv->netdev->hw_features,
> before reporting ENABLED or DISABLED.
My thought was to restore the code that previously existed. But it should be
fine to gate this on the device's HW-GRO support.
> [Severity: Medium]
> Can this report "enabled" right after a "tcp-data-split off" request has
> succeeded?
>
> [...]
>
> With rx-gro-hw on, wouldn't set_hds_disable() in hds.py still fail?
> It would now fail on ksft_eq('disabled', rings['tcp-data-split'])
> instead of the KeyError.
>
> Should the driver actually turn SHAMPO off for DISABLED, or reject the
> request?
mlx5e_ethtool_set_tcp_data_split() can be modified to reject tcp-data-split
disables if rx-gro-hw is enabled. I'm ok with this,
but if any maintainers disagree please let me know.
> [Severity: Medium]
> HW-GRO is off by default, so this now reports "disabled" and
> _get_hds_mode() in hds.py no longer skips. Is that why enabled_set_xdp
> and ioctl_enabled_set_xdp go from SKIP to FAIL in the "After" log in the
> commit message?
>
> [...]
>
> Should the driver turn on HW-GRO when tcp-data-split=enabled is
> requested? Or should the tests enable rx-gro-hw first, or skip on EINVAL?
> As things stand, the state the driver reports does not match what the
> selftests expect.
It's ok for the tests to fail. We shouldn't modify the tests to account for
MLXs coupling of HW-GRO and tcp-data-split.
pw-bot: cr
prev parent reply other threads:[~2026-09-30 18:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-23 23:05 [PATCH net-next] net/mlx5e: advertise tcp-data-split support Dimitri Daskalakis
2026-09-27 23:21 ` netdev-bot+sashiko
2026-09-30 18:56 ` Dimitri Daskalakis [this message]
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=20260930185641.3303158-1-dimitri.daskalakis1@gmail.com \
--to=dimitri.daskalakis1@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=cjubran@nvidia.com \
--cc=cratiu@nvidia.com \
--cc=davem@davemloft.net \
--cc=dtatulea@nvidia.com \
--cc=edumazet@google.com \
--cc=gal@nvidia.com \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=mbloch@nvidia.com \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=noren@nvidia.com \
--cc=pabeni@redhat.com \
--cc=saeedm@nvidia.com \
--cc=tariqt@nvidia.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;
as well as URLs for NNTP newsgroup(s).