aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorXia Yan <yana06070@163.com>2026-10-29 10:42:59 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-11-02 15:24:58 +0100
commitc1f04ea0aa0f8799a303dc412b3a4820f2aedfe5 (patch)
tree6702611641476b127519feeb46c2261f664ae9c2 /scripts/Makefile.thinlto
parentveth: keep carrier off when resizing channels with a down peer (diff)
selftests: net: check veth carrier after changing channel counts
Extend veth.sh to check that changing channel counts preserves carrier state. When only one end is up, the running end must not report LOWER_UP. Cover up/up and both mixed up/down combinations. Resize RX and TX queues in both directions on each endpoint, and check carrier after a rejected out-of-range request as well. Create the pair with two queues explicitly so the carrier cases also run on single-CPU systems. Reuse the existing namespace setup and cleanup. Run each carrier case in a subshell to keep its variables separate from the other tests, and accumulate failures in the caller. Only check LOWER_UP on running interfaces, where the flag exposes carrier state. Tested-by: Hangbin Liu <liuhangbin@kylinos.cn> Reviewed-by: Hangbin Liu <liuhangbin@kylinos.cn> Signed-off-by: Xia Yan <yana06070@163.com> Link: https://patch.msgid.link/20261029024259.3700-2-yana06070@163.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions