Users Guide

Table Of Contents
7–Linux Driver Software
Patching PCI Files (Optional)
Doc No. BC0054508-00 Rev. R
January 21, 2021 Page 43 Copyright © 2021 Marvell
If the driver was installed using RPM, issue the following command to remove it:
rpm -e netxtreme2
Removing the Driver from a TAR Installation
If the driver was installed using make install from the TAR file, manually delete the
bnx2x.ko driver file from the operating system. See “Installing the Source RPM
Package” on page 36 for the location of the installed driver.
Uninstalling QCS with the RPM Package
To uninstall the QCS CLI and/or associated RPC agent with the Linux RPM
package, issue the following command:
% rpm -e <package_name>.rpm
Where <package_name> is one of the following:
Patching PCI Files (Optional)
For hardware detection utilities such as Red Hat kudzu to properly identify bnx2x
supported devices, you may need to update several files containing PCI vendor
and device information. Apply the updates by running the scripts provided in the
supplemental TAR file. For example, on Red Hat Enterprise Linux, apply the
updates by issuing the following commands:
./patch_pcitbl.sh /usr/share/hwdata/pcitable pci.updates
/usr/share/hwdata/pcitable.new bnx2
./patch_pciids.sh /usr/share/hwdata/pci.ids pci.updates
/usr/share/hwdata/pci.ids.new
The examples used in this procedure refer to the bnx2x driver, but also apply
to the bnx2fc and bnx2i drivers.
QCS CLI QCS-CLI-<version>-<arch>.rpm
RPC agent qlnxremote-<version>.<arch>.rpm
The examples used in this procedure refer to the bnx2x driver, but also apply
to the bnx2fc and bnx2i drivers.