diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2026-04-01 08:21:50 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-02 11:28:19 -0700 |
| commit | b55dfb173ce808ecc8c598f2c378a9b04c5ce241 (patch) | |
| tree | 964756f37144a44d38d25f0787577decb647c5ef /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 3f6a6eb9ef21b2eb30b3a3ea096759b37368b257 (diff) | |
net: stmmac: move check for hardware checksum supported
Add a check in .ndo_features_check() to indicate whether hardware
checksum can be performed on the skbuff. Where hardware checksum is
not supported - either because the channel does not support Tx COE
or the skb isn't suitable (stmmac uses a tighter test than
can_checksum_protocol()) we also need to disable TSO, which will be
done by harmonize_features() in net/core/dev.c
This fixes a bug where a channel which has COE disabled may still
receive TSO skbuffs.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1w7pte-0000000EatU-0ILt@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
