环境
CentOS Linux release 7.9.2009 (Core)
升级
先查看原驱动版本
[root@xcdcs ~]# lspci |grep net
01:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
01:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
01:00.2 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
01:00.3 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
[root@xcdcs ~]# ethtool -i eth2
driver: i40e
version: 2.8.20-k
firmware-version: 8.70 0x8000c407 0.0.0
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
[root@xcdcs ~]# modinfo i40e
......
系统默认驱动版本是2.8.20-k
开始升级
现在最新的版本是i40e-2.22.18.tar.gz
#解压
[root@xcdcs ~]# tar zxvf i40e-2.22.18.tar.gz
[root@xcdcs ~]# cd i40e-2.22.18/src/
#安装
[root@xcdcs ~]# make install
#查看版本
[root@xcdcs ~]# modinfo i40e
#更新initrd/initramfs 文件,以防止操作系统加载旧版本的 i40e 驱动程序。
[root@xcdcs ~]# dracut --force
#重启生效
[root@xcdcs ~]# reboot
重启完后查看驱动:
升级完成 end.
标签:Intel,xcdcs,X710,Controller,i40e,Ethernet,root From: https://www.cnblogs.com/xujiecnblogs/p/17401832.html