[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZDgfBEnxLWczPLQO@calimero.vinschen.de>
Date: Thu, 13 Apr 2023 17:25:56 +0200
From: Corinna Vinschen <vinschen@...hat.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org,
Giuseppe Cavallaro <peppe.cavallaro@...com>,
alexandre.torgue@...s.st.com, Jose Abreu <joabreu@...opsys.com>
Subject: Re: [PATCH net-next] net: stmmac: propagate feature flags to vlan
Hi Jakub,
On Apr 12 21:15, Jakub Kicinski wrote:
> On Tue, 11 Apr 2023 15:00:28 +0200 Corinna Vinschen wrote:
> > stmmac_dev_probe doesn't propagate feature flags to VLANs. So features
> > like TX offloading don't correspond with the general features and it's
> > not possible to manipulate features via ethtool -K to affect VLANs.
>
> Actually, could you add to the commit message a sentence or two about
> the features that you tested and/or a mention of the manual indicating
> that they are supported over vlans? Especially TSO on a quick look.
> I just realized now that you didn't explicitly say that those features
> work, just that you can manipulate them...
I tested that I can, for instance, set and reset the tx-checksumming
flag with ethtool -K. As for TSO, I checked the source code, and the
function stmmac_tso_xmit handles VLANs just fine. While different
NICs supported by stmmac have different offload features, there's no
indication in the driver source that VLANs have less offloading features
than a non-VLAN connection on the same HW. Admittedly, I never saw
documentation explicitely claiming this.
If that's not sufficient, testing will take another day or two, because
I have to ask for a remote test setup first.
Corinna
Powered by blists - more mailing lists