下载最新驱动
https://downloadcenter.intel.com/download/24411/Intel-Network-Adapter-Driver-for-PCIe-40-Gigabit-Ethernet-Network-Connections-Under-Linux-
执行:
yum install kernel kernel-headers kernel-devel kernel-tools kernel-tools-libs -y
重启,之后执行uname -a并执行ll /usr/src/kernels/
获取当前的内核版本:
执行:
export BUILD_KERNEL=3.10.0-1062.4.3.el7.x86_64
解压驱动代码后,进入驱动代码的目录,执行make install