🐞 fix(TSG-9718): 解决系统启动时创建vf失败问题
解决系统启动时创建vf失败从而导致tfe无法启动问题 https://jira.geedge.net/browse/TSG-9718
This commit is contained in:
21
ansible/roles/i40e-drive/README.md
Normal file
21
ansible/roles/i40e-drive/README.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# i40e/iavf驱动编译方法
|
||||||
|
|
||||||
|
## 源码下载地址:
|
||||||
|
* **i40e:**https://www.intel.com/content/www/us/en/download/18026/intel-network-adapter-driver-for-pcie-40-gigabit-ethernet-network-connections-under-linux.html
|
||||||
|
* **iavf:**https://www.intel.cn/content/www/cn/zh/download/18159/intel-network-adapter-linux-virtual-function-driver-for-intel-ethernet-controller-700-and-e810-series.html
|
||||||
|
## 编译环境搭建:
|
||||||
|
* 编译环境的内核需和目标主机内核版本相同
|
||||||
|
* 安装编译软件:
|
||||||
|
* yum install centos-release-scl -y
|
||||||
|
* yum install devtoolset-8 -y
|
||||||
|
* 进入编译shell:
|
||||||
|
* scl enable devtoolset-8 bash
|
||||||
|
* 编译i40e:
|
||||||
|
* rpmbuild -tb i40e-2.17.15.tar.gz
|
||||||
|
* 编译后的安装包路径:
|
||||||
|
* rpmbuild/RPMS/x86_64/i40e-xxx.x86_64.rpm
|
||||||
|
* 编译iavf:
|
||||||
|
* rpmbuild -tb iavf-4.3.19.tar.gz
|
||||||
|
* 编译后的安装包路径:
|
||||||
|
* rpmbuild/RPMS/x86_64/auxiliary-xxx.x86_64.rpm
|
||||||
|
* rpmbuild/RPMS/x86_64/iavf-xxx.x86_64.rp
|
||||||
BIN
ansible/roles/i40e-drive/files/auxiliary-1.0.0-1.x86_64.rpm
Normal file
BIN
ansible/roles/i40e-drive/files/auxiliary-1.0.0-1.x86_64.rpm
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
ansible/roles/i40e-drive/files/iavf-4.3.19-1.x86_64.rpm
Normal file
BIN
ansible/roles/i40e-drive/files/iavf-4.3.19-1.x86_64.rpm
Normal file
Binary file not shown.
@@ -10,10 +10,16 @@
|
|||||||
- /tmp/i40e_drive/i40e-2.11.29-1.x86_64.rpm
|
- /tmp/i40e_drive/i40e-2.11.29-1.x86_64.rpm
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: "install auxiliary"
|
||||||
|
yum:
|
||||||
|
name:
|
||||||
|
- /tmp/i40e_drive/auxiliary-1.0.0-1.x86_64.rpm
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: "install iavf"
|
- name: "install iavf"
|
||||||
yum:
|
yum:
|
||||||
name:
|
name:
|
||||||
- /tmp/i40e_drive/iavf-4.1.1-1.x86_64.rpm
|
- /tmp/i40e_drive/iavf-4.3.19-1.x86_64.rpm
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: "update depmod"
|
- name: "update depmod"
|
||||||
|
|||||||
2
package/README.md
Normal file
2
package/README.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# TSG-9140 内核升级注意事项
|
||||||
|
## 除了需要更新内核RPM外还需要特别注意的是:根据升级后的内核重新编译i40E以及iavf驱动的rpm,具体编译方法在ansible/roles/i40e-drive路径下的Readme文件
|
||||||
Reference in New Issue
Block a user