[PATCH net-next] net: stmmac: fix .ndo_fix_features()
Jakub Kicinski
kuba at kernel.org
Wed Feb 25 16:27:25 PST 2026
On Wed, 25 Feb 2026 10:27:09 +0000 Russell King (Oracle) wrote:
> The options as I see it are:
> 1. scan the transmit queue configuration, if any have TBS enabled,
> disable TSO support for the entire interface.
>
> or
>
> 2. rip out TSO support, making the code simpler, and thereby removing
> the need to try and fix the problems here, and making this patch
> unnecessary.
normally corner cases like this TSO + TBS thing are handled in
.ndo_features_check. The driver can selectively clear the TSO
feature for a single packet it sees heading down the stack
towards its TBS queue. The stack will then run GSO and feed
it segments one by one.
FWIW Andrew's suggestion to do the GSO in the driver is very much
legit, but I agree that its orthogonal if you're trying to simply
fix brokenness.
More information about the linux-arm-kernel
mailing list