Centos 安装ixgbe驱动

Centos 安装ixgbe驱动
参考链接: https://www.cnblogs.com/songhaibin/p/9608492.html
1. 首先查看网卡类型
  # lspci | grep Eth
  07:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
  07:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
2. 下载相应的驱动程序
  # wget https://downloadmirror.intel.com/14687/eng/ixgbe-5.3.7.tar.gz -o ixgbe-5.3.7.tar.gz
3. 源码安装,首先安装编译环境
  # yum install gcc kernel-header kernel-devel
4. 安装
  tar -xzvf ixgbe-5.3.7.tar.gz
  cd ./ixgbe-5.3.7/src
  make
  输出:
  LD [M] /root/ixgbe-5.3.7/src/ixgbe.ko
  make install
5. 其他相关命令
  查看现有的模块安装情况
  查看模块情况:modinfo ./ixgbe.ko
  查看模块安装情况:lsmod | grep ixgbe
  删除模块:rmmod ixgbe.ko
  安装模块:insmod ./ixgbe.ko
  修改模块:modprobe ixgbe
  添加启动参数:insmod ./ixgbe.ko FdirPballoc=3 RSS=16
  查看安装信息:dmesg
  安装目录:
  make install
  ixgbe.ko将会安装在下列目录
  /lib/modules/<kernel-version>/kernel/drivers/net/ixgbe
  启动时候加载方式:modprobe ixgbe
6. 
  # echo 'options ixgbe allow_unsupported_sfp=1,1' > /etc/modprobe.d/ixgbe.conf
  # modprobe ixgbe allow_unsupported_sfp=1,1

转载于:https://www.cnblogs.com/larrypeng/p/11570876.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值