[dpdk-dev] [PATCH 16/16] [RFC] [VFIO] Adding support for VFIO to setup.sh
Stephen Hemminger
stephen at networkplumber.org
Fri May 2 00:03:27 CEST 2014
On Thu, 1 May 2014 11:06:12 +0000
"Burakov, Anatoly" <anatoly.burakov at intel.com> wrote:
>
> #
> +# Unloads VFIO modules.
> +#
> +remove_vfio_module()
> +{
> + echo "Unloading any existing VFIO module"
> + /sbin/lsmod | grep -s vfio > /dev/null
> + if [ $? -eq 0 ] ; then
> + sudo /sbin/rmmod vfio-pci
> + sudo /sbin/rmmod vfio_iommu_type1
> + sudo /sbin/rmmod vfio
> + fi
> +}
> +
Won't this break if KVM is using vfio and running DPDK application as well.
More information about the dev
mailing list