On Tue, Jun 30, 2026 at 5:09 AM Jakub Kicinski <[email protected]> wrote: > > query_nic_features() detects which offloads depend on tx-gso-partial > by enabling everything, turning tx-gso-partial off, and seeing which > active features drop out. Enabling all hw features is dangerous: > we may end up enabling rx-fcs and loopback for example. For the > ice driver we end up getting into problems with feature dependencies > so the cleanup isn't successful either, and the test exits with > rx-fcs and loopback enabled. > > Scope the feature probing just to segmentation bits. > > Fixes: 266b835e5e84 ("selftests: drv-net: tso: enable test cases based on > hw_features") > Signed-off-by: Jakub Kicinski <[email protected]> > --- > CC: [email protected] > CC: [email protected] > CC: [email protected] > --- > tools/testing/selftests/drivers/net/hw/tso.py | 16 ++++++---------- > 1 file changed, 6 insertions(+), 10 deletions(-) >
Reviewed-by: Pavan Chebbi <[email protected]>
smime.p7s
Description: S/MIME Cryptographic Signature
