aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/vpp_device
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/vpp_device')
-rw-r--r--fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs.sh1
-rw-r--r--fdio.infra.ansible/roles/vpp_device/tasks/main.yaml29
2 files changed, 1 insertions, 29 deletions
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 ))
;;
diff --git a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
index 9509771a92..d12fe1edf5 100644
--- a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
@@ -129,32 +129,3 @@
- "Update GRUB"
tags:
- set-grub
-
-- name: Download iAVF driver
- get_url:
- url: "{{ iavf_url }}"
- dest: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}.tar.gz"
- validate_certs: False
- mode: 0644
- tags:
- - install-iavf
-
-- name: Extract iAVF driver
- unarchive:
- remote_src: true
- src: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}.tar.gz"
- dest: "{{ iavf_target_dir }}/"
- creates: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}/src/"
- tags:
- - install-iavf
-
-- name: Compile iAVF driver
- command: "make install"
- args:
- chdir: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}/src/"
- notify:
- - "Reboot server"
- tags:
- - install-iavf
-
-- meta: flush_handlers