You can identify any previously installed sfc
drivers using the
ethtool -i
command:
- An ‘in-tree’ driver uses one of the following formats for its version number:
- On older versions of Linux, the ‘in-tree’ driver outputs only Major and
Minor revision
numbers:
# ethtool -i enp3s0f0 driver: sfc version: 4.0
- On recent versions of Linux, the ‘in-tree’ driver instead
outputs the kernel version
number:
# ethtool -i enp3s0f0 driver: sfc version: 4.18.0-372.9.1.el8.x86_64
- On older versions of Linux, the ‘in-tree’ driver outputs only Major and
Minor revision
numbers:
- All other
sfc
drivers display detailed version information:# ethtool -i enp3s0f0 driver: sfc version: 4.15.12.1008
To remove the previously installed driver (with Onload uninstalled or not yet installed):
# find /lib/modules/$(uname -r) -name 'sfc*.ko' | xargs rm –rf
# rmmod sfc
# update-initramfs -u -k <kernel version>
initramfs commands might differ on different Linux based OS, for example on
CentOS 7 the following dracut
command can be used:
# dracut –f