We previously published a test report on Tests For Broadcom BCM957508-P2100G NIC. This article takes the Broadcom BCM957508-P2100G network interface card as an example to introduce the driver installation procedure for Broadcom NICs.
First, confirm the NIC model and download the driver compatible with your operating system from the official website.
This tutorial uses the Linux driver version 218.0.219.21 (driver file: bcm_218.0.219.21.tar.gz).
Figure 1 Driver Download Page
Copy the driver file to a target directory on the server via a USB flash drive. In this case, the file is saved to the /opt directory.
Open the server terminal, navigate to the save path of the driver file, and extract the installation package.
Figure 2 Extract Installation Package
Enter the Linux/Linux_Driver subfolder under the extracted directory, locate the driver file netxtreme-bnxt_en-1.10.2-218.0.219.2.tar.gz, and extract it again.
Figure 3 Extract Driver File
After extraction, enter the decompressed driver directory and run the command to compile the driver source code:
make
Figure 4 Compile Driver Source Code
Once compilation completes, execute the command to install the driver:
make install
Figure 5 Install the Driver
Copy the bnxt_en.ko driver file from /lib/modules/3.10.0-693.el7.x86_64/updates to the /drivers/net subdirectory.
After copying, enter the bnxt_en folder and run the command to update module dependencies:
depmod -a
Execute the command to load the driver:
modprobe bnxt_en
If no error prompts appear, the loading is successful.
Run the command to check the status of loaded driver modules:
lsmod
Figure 6 Driver Loading and Verification
After driver installation finishes, connect the NIC to the server, and the system can correctly recognize NIC hardware information.
Figure 7 View NIC Hardware Information
Note: File decompression and copying can be operated directly through the server’s graphical folder interface. This document uses Linux command lines uniformly for clearer demonstration.
Moduletek Limited is at your service.