164 Star 224 Fork 1.2K

openGauss / docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
网卡固件确认与更新.md 1.73 KB
一键复制 编辑 原始数据 按行查看 历史
liyang 提交于 2020-11-09 15:59 . sync dts

网卡固件确认与更新

  1. 执行命令ethtool -i enp3s0确认当前环境的网卡固件版本是否为2.4.1.0,如果不是2.4.1.0,建议更换为2.4.1.0,以获得更佳性能。

    # ethtool -i enp3s0 
    driver: hinic                                 
    version: 2.3.2.11                             
    firmware-version: 2.4.1.0                     
    expansion-rom-version:                        
    bus-info: 0000:03:00.0                       
  2. 更新网卡固件。

    a.在..\firmware\update_bin路径下,获取cfg_data_nic_prd_1h_4x25G.bin文件。

    b.使用root用户执行如下命令更新网卡固件。

    hinicadm updatefw -i <物理网卡设备名> -f <固件文件路径>

    涉及的参数说明如下:

    • “物理网卡设备名”为网卡在系统中的名称,例如“hinic0”表示第一张网卡,“hinic1”表示第二张网卡,查找方法参见前文网卡多中断队列设置
    • “固件文件路径”为cfg_data_nic_prd_1h_4x25G.bin文件的路径。

    例如:

    #  
    Please do not remove driver or network device  
    Loading...  
    [>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  [100%] [\]  
    Loading firmware image succeed.  
    Please reboot OS to take firmware effect.

    c.重启服务器,再确认网卡固件版本成功更新为2.4.1.0。

    # ethtool -i enp3s0 
    driver: hinic                                 
    version: 2.3.2.11                             
    firmware-version: 2.4.1.0                     
    expansion-rom-version:                        
    bus-info: 0000:03:00.0    
1
https://gitee.com/opengauss/docs.git
git@gitee.com:opengauss/docs.git
opengauss
docs
docs
1.0.1

搜索帮助