linux/tools/testing/selftests/drivers/net/hw
Jakub Kicinski 2f7f2e3111 selftests: drv-net: tso: don't touch dangerous feature bits
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: 266b835e5e ("selftests: drv-net: tso: enable test cases based on hw_features")
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Daniel Zahka <daniel.zahka@gmail.com>
Link: https://patch.msgid.link/20260629233923.2151144-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-06-30 17:23:25 -07:00
..
lib/py selftests: drv-net: add userns devmem RX test 2026-06-05 18:10:31 -07:00
.gitignore selftests: net: relocate gro and toeplitz tests to drivers/net 2025-11-20 18:19:29 -08:00
config selftests/net: Add hugepage kernel config dependency for zcrx 2026-06-15 18:58:01 -07:00
csum.py selftests: drv-net: csum: fix interface name for remote host 2025-09-01 12:43:10 -07:00
devlink_port_split.py
devlink_rate_tc_bw.py selftests: drv-net: Fix tolerance calculation in devlink_rate_tc_bw.py 2025-12-01 17:18:41 -08:00
devmem_lib.py selftests: drv-net: refactor devmem command builders into lib module 2026-05-18 18:49:07 -07:00
devmem.py selftests: drv-net: refactor devmem command builders into lib module 2026-05-18 18:49:07 -07:00
ethtool_extended_state.sh
ethtool_lib.sh
ethtool_mm.sh
ethtool_rmon.sh selftests: drivers: hw: update ethtool_rmon to work with a single local interface 2026-04-02 12:11:04 +02:00
ethtool_std_stats.sh selftests: drivers: hw: add test for the ethtool standard counters 2026-04-02 12:11:04 +02:00
ethtool.sh selftests: drivers: hw: ethtool.sh: Adjust output 2024-04-16 12:14:41 +02:00
gro_hw.py selftests: drv-net: Enable ntuple-filters if supported 2026-05-01 17:10:06 -07:00
hw_stats_l3_gre.sh selftests: drivers: hw: Include tc_common.sh in hw_stats_l3 2024-04-16 12:14:41 +02:00
hw_stats_l3.sh selftests: drivers: hw: Include tc_common.sh in hw_stats_l3 2024-04-16 12:14:41 +02:00
iou-zcrx.c selftests: iou-zcrx: defer listen() until after zcrx setup 2026-06-12 17:28:07 -07:00
iou-zcrx.py io_uring/zcrx: selftests: verify rx_buf_len for large chunks 2026-06-15 12:58:18 -07:00
ipsec_vxlan.py tools/selftests: Add a VXLAN+IPsec traffic test 2026-04-28 06:47:19 +02:00
irq.py selftests: net: use the dummy bpf from net/lib 2025-03-31 16:44:25 -07:00
loopback.sh
Makefile selftests: drv-net: add userns devmem RX test 2026-06-05 18:10:31 -07:00
ncdevmem.c selftests: drv-net: ncdevmem: add -n flag to skip NIC configuration 2026-05-18 18:49:07 -07:00
nic_timestamp.py selftests: drv-net: extend HW timestamp test with ioctl 2026-01-20 18:21:27 -08:00
nk_devmem.py selftests: drv-net: add netkit devmem tests 2026-05-18 18:49:07 -07:00
nk_forward.bpf.c selftests/net: Add bpf skb forwarding program 2026-03-06 13:11:17 -08:00
nk_netns.py selftests/net: Add netkit container ping test 2026-03-06 13:16:40 -08:00
nk_primary_rx_redirect.bpf.c selftests: drv-net: add primary_rx_redirect support to NetDrvContEnv 2026-05-18 18:49:07 -07:00
nk_qlease.py selftests/net: Add netkit io_uring ZC test for large rx_buf_len 2026-06-15 18:58:01 -07:00
ntuple.py selftests: drv-net: Enable ntuple-filters if supported 2026-05-01 17:10:06 -07:00
pp_alloc_fail.py selftests: drv-net: pp_alloc_fail: lower traffic expectations 2025-10-09 11:10:02 +02:00
rss_api.py selftests: drv-net: rss_api: context create and delete tests 2025-07-21 18:21:19 -07:00
rss_ctx.py selftests: drv-net: Enable ntuple-filters if supported 2026-05-01 17:10:06 -07:00
rss_drv.py selftests: rss_drv: Add RSS indirection table resize tests 2026-03-23 17:59:54 -07:00
rss_flow_label.py selftests: drv-net: rss_flow_label: skip unsupported devices 2026-01-29 18:35:12 -08:00
rss_input_xfrm.py selftests: hw-net: rss-input-xfrm: try to enable the xfrm at the start 2026-01-06 16:54:10 -08:00
settings
toeplitz.c selftests: drivers: net: hw: Modify toeplitz.c to poll for packets 2026-02-11 11:10:20 +01:00
toeplitz.py selftests: drv-net: limit RPS test CPUs to supported range 2026-02-12 18:41:49 -08:00
tso.py selftests: drv-net: tso: don't touch dangerous feature bits 2026-06-30 17:23:25 -07:00
userns_devmem.py selftests: drv-net: add userns devmem RX test 2026-06-05 18:10:31 -07:00
uso.py selftests: drv-net: Add USO test 2026-04-12 10:54:33 -07:00
xdp_metadata.py selftests: drv-net: xdp: Add rss_hash metadata tests 2026-03-29 14:09:08 -07:00
xsk_reconfig.py selftests: net: add a virtio_net deadlock selftest 2025-04-28 15:49:11 -07:00