From 8c02a0339a20735833abe50d82b62e70d5f5249e Mon Sep 17 00:00:00 2001 From: Krish De Souza Date: Tue, 19 Nov 2024 20:56:43 +0000 Subject: [PATCH] ON-16107: Force remove sfc_driverlink using rmmod -f rather than modprobe -r --- scripts/onload_tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/onload_tool b/scripts/onload_tool index 722a55d48..62f8dfb80 100755 --- a/scripts/onload_tool +++ b/scripts/onload_tool @@ -45,7 +45,7 @@ tryunload () { # rmmod is used, to avoid modprobe failure as these modules are not present # in modprobe conf files in latest Onload. if [ "$mod" = sfc_tune -o "$mod" = sfc_aoe -o "$mod" = onload_cplane \ - -o "$mod" = sfc_affinity -o "$mod" = virtual_bus ]; then + -o "$mod" = sfc_affinity -o "$mod" = virtual_bus -o "$mod" = sfc_driverlink ]; then echo "$me: rmmod -f $mod" rmmod -f $mod else