On 01/29/15 at 02:03pm, Mark D. Gray wrote:
>  2. Setup DPDK devices:
> +
> +   DPDK devices can be setup using either the VFIO (for DPDK 1.7+) or UIO
> +   modules. UIO requires inserting an out of tree driver igb_uio.ko that is
> +   available in DPDK. Setup for both methods are described below.
> +
> +   UIO:
>     1. insert uio.ko: `modprobe uio`
>     2. insert igb_uio.ko: `insmod $DPDK_BUILD/kmod/igb_uio.ko`
>     3. Bind network device to igb_uio: `$DPDK_DIR/tools/dpdk_nic_bind.py 
> --bind=igb_uio eth1`
>  
> +   VFIO:
> +
> +   VFIO needs to be supported in the kernel and the BIOS. More information
> +   can be found in the [DPDK Linux GSG].
> +
> +   1. Insert vfio-pci.ko: `modprobe vfio-pci`
> +   2. Set correct permissions on vfio device: `sudo /usr/bin/chmod a+x 
> /dev/vfio`
> +      and: `sudo /usr/bin/chmod 0666 /dev/vfio/*`
> +   3. insert igb_uio.ko: `insmod $DPDK_BUILD/kmod/igb_uio.ko`

I'm slightly confused: Above you say "UIO requires inserting an out of
tree driver igb_uio.ko that is available in DPDK." but it seems that
VFIO needs the same module loaded as well (step 3).
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to