aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2025-10-14 02:17:25 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-23 16:24:31 +0200
commitf712b972450a8a09e5557cbbe8398d7c6c6d6cce (patch)
tree5f2638eb4caf5fce7fe1f619acf88f04935e9bb8 /tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com
parenttls: don't rely on tx_work during send() (diff)
netdevsim: set the carrier when the device goes up
[ Upstream commit 1a8fed52f7be14e45785e8e54d0d0b50fc17dbd8 ] Bringing a linked netdevsim device down and then up causes communication failure because both interfaces lack carrier. Basically a ifdown/ifup on the interface make the link broken. Commit 3762ec05a9fbda ("netdevsim: add NAPI support") added supported for NAPI, calling netif_carrier_off() in nsim_stop(). This patch re-enables the carrier symmetrically on nsim_open(), in case the device is linked and the peer is up. Signed-off-by: Breno Leitao <leitao@debian.org> Fixes: 3762ec05a9fbda ("netdevsim: add NAPI support") Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20251014-netdevsim_fix-v2-1-53b40590dae1@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions