aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/dpdk/roles/ins_dpdk/templates/dpdk_vfio.sh.j2
blob: 588393423a6af6ace7b5d5687b0004c7c1dbed24 (plain)
1
2
3
4
5
6
#!/bin/bash
ifdown {{ item.device_name }}
modprobe vfio-pci
chmod a+x /dev/vfio
chmod 0666 /dev/vfio/*
{{ item.dpdk_dir }}/tools/dpdk-devbind.py --bind=vfio-pci {{ item.device_name }}