diff options
| author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2026-09-17 23:53:34 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-09-22 18:51:17 -0700 |
| commit | ba804b23d76d278ee475b8427fa7c5623ce5e270 (patch) | |
| tree | dbf1deb13e96d63083c41767b90766afa7b698fd /tools/lib/python/kdoc/python_version.py | |
| parent | c8c1795aa8106293020a836d01e127e98f442925 (diff) | |
net: stmmac: selftests: Check the dev->features for S-TAG offload testing
The S-TAG offload insertion incorrectly checks the dvlan (double vlan)
DMA cap, which is different than S-TAG support. Use
NETIF_F_HW_VLAN_STAG_TX to check if the feature is supported instead.
Note that this flag isn't set in stmmac yet, but contrary to ARP
offload, this is a feature that has a chance to get there eventually so
let's leave the selftest here for now. It'll report -EOPNOTSUPP in the
meantime.
Fixes: 091810dbded9 ("net: stmmac: Introduce selftests support")
Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20260917215339.2022523-4-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
