From 5a1f1b7fa58c082dd359a7b4df700f5df3839bfd Mon Sep 17 00:00:00 2001 From: Juraj Linkeš Date: Fri, 23 Jul 2021 13:20:52 +0200 Subject: Ansible: iavf driver install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * move iavf driver install from vpp_device to intel role * differentiate the names of tasks of various drivers to get better ansible logs * add .5 sleep when creating VFs with iavf to avoid improper init * fix install commands * add XL710QDA2 NIC to supported i40e NICs Change-Id: Id50e1552a322b9473e58222bfed3405d2d73c824 Signed-off-by: Juraj Linkeš --- fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs.sh') diff --git a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs.sh b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs.sh index 27b1acb057..4d2c22e7f5 100644 --- a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs.sh +++ b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs.sh @@ -63,6 +63,7 @@ for pci_addr in ${PCI_WHITELIST[@]}; do ip link set ${pf} vf $(( vf - 1 )) ${mac_str} ${vlan_str} ip link set ${pf} vf $(( vf - 1 )) trust on ip link set ${pf} vf $(( vf - 1 )) spoof off + sleep .5 done pci_idx=$(( pci_idx + 1 )) ;; -- cgit 1.2.3-korg