Skip to content

Commit

Permalink
ON-16107: Force remove sfc_driverlink using rmmod -f rather than modp…
Browse files Browse the repository at this point in the history
…robe -r
  • Loading branch information
krishd-amd committed Nov 21, 2024
1 parent 1cefd7b commit 8c02a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/onload_tool
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c02a03

Please sign in to comment.