linux/tools/testing/selftests
Yohei Kojima 75df712cdd selftests: netdevsim: add carrier state consistency test
This commit adds a test case for netdevsim carrier state consistency.
Specifically, the added test verifies the carrier state during the
following operations:

1. Unlink two netdevsims
2. ifdown one netdevsim, then ifup again
3. Link the netdevsims again
4. ifdown one netdevsim, then ifup again

These steps verifies that the carrier is UP iff two netdevsims are
linked and ifuped.

Signed-off-by: Yohei Kojima <yk@y-koj.net>
Link: https://patch.msgid.link/481e2729e53b6074ebfc0ad85764d8feb244de8c.1767624906.git.yk@y-koj.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-01-06 18:04:01 -08:00
..
acct
alsa Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
amd-pstate
arm64 Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
bpf bpf-fixes 2025-12-17 15:54:58 +12:00
breakpoints
cachestat
capabilities
cgroup Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
clone3
connector
core
coredump Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
cpu-hotplug
cpufreq
damon
devices
dmabuf-heaps
drivers selftests: netdevsim: add carrier state consistency test 2026-01-06 18:04:01 -08:00
dt
efivarfs
exec
fchmodat2
filelock
filesystems Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
firmware
fpu
ftrace Runtime verifier updates for v6.19: 2025-12-05 10:17:00 -08:00
futex Futex changes for v6.19: 2025-12-10 17:21:30 +09:00
gpio
hid Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
ia64
intel_pstate
iommu iommufd/selftest: Make it clearer to gcc that the access is not out of bounds 2025-12-15 20:34:41 -04:00
ipc
ir
kcmp
kexec
kho
kmod
kselftest
kselftest_harness
kvm KVM fixes for 6.19-rc1 2025-12-18 18:38:45 +01:00
landlock Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
lib
livepatch
liveupdate
lkdtm lkdtm/bugs: Add cases for BUG and PANIC occurring in hardirq context 2025-12-15 12:05:37 +00:00
locking
lsm
media_tests
membarrier
memfd
memory-hotplug
mincore
mm selftests/mm: fix thread state check in uffd-unit-tests 2025-12-23 11:23:14 -08:00
module
mount
mount_setattr
move_mount_set_group
mqueue
mseal_system_mappings
namespaces Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
nci
net selftests: drv-net: Bring back tool() to driver __init__s 2026-01-06 17:52:08 -08:00
nolibc
ntb
openat2
pci_endpoint
pcie_bwctrl
perf_events
pid_namespace
pidfd Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
power_supply
powerpc selftests/powerpc/pmu/: Add check_extended_reg_test to .gitignore 2025-12-22 17:55:07 +05:30
prctl
proc
pstore
ptp
ptrace
rcutorture
resctrl
ring-buffer
riscv Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
rlimits
rseq Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
rtc
rust
safesetid
sched
sched_ext selftests/sched_ext: flush stdout before test to avoid log spam 2025-12-12 08:18:32 -10:00
seccomp
sgx
signal
size
sparc64
splice
static_keys
sync
syscall_user_dispatch
sysctl
tc-testing selftests/tc-testing: Add test case redirecting to self on egress 2026-01-05 16:23:43 -08:00
tdx
thermal/intel
timens
timers Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
tmpfs
tpm2
tty TTY/Serial changes for 6.19-rc1 2025-12-06 18:38:19 -08:00
turbostat
ublk selftests: ublk: add user copy test cases 2025-12-12 12:50:41 -07:00
uevent
user_events
vDSO Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
verification
vfio Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
vsock
watchdog
wireguard
x86 Significant patch series in this pull request: 2025-12-06 14:01:20 -08:00
zram
.gitignore
Makefile
gen_kselftest_tar.sh
kselftest.h
kselftest_deps.sh
kselftest_harness.h
kselftest_install.sh
kselftest_module.h
lib.mk
run_kselftest.sh