Installation of 10 Gigabit Network Card X520 DA2 Driver in Ubuntu 18.04

X520 DA2 driver official website download address

Downloads for Intel® Ethernet Converged Network Adapter X520-DA2

Ubuntu install ixgbe driver steps

(1) Installation premise

Before installation, you need to install matching kernel header files and development kits.

apt-get install linux-headers-$(uname -r)
apt-get install gcc make

(2) Compile Ixgbe driver

# 下载源码
wget https://downloadmirror.intel.com/14687/eng/ixgbe-5.7.1.tar.gz

# 解压缩
tar zxf ixgbe-5.7.1.tar.gz

# 编译
cd ixgbe-5.7.1/src
make

# 检查Ixgbe驱动
modinfo ./ixgbe.ko

# 删除系统中旧的Ixgbe驱动,如有
lsmod |grep -i ixgbe
rmmod ixgbe

# 添加新驱动
insmod ./ixgbe.ko
#如果你需要,你可以尝试加入额外的参数。比如,设置RSS的队列数量为16:
insmod ./ixgbe.ko RSS=16

#安装Ixgbe驱动
make install
# 加载驱动
modprobe ixgbe

# 如果你希望在启动时加载ixgbe驱动,可以:

在/etc/modules的最后加入“ixgb

(3) Restart the server

Reference documents

Guess you like

Origin blog.51cto.com/wutengfei/2540837