1 # VMWARE vmxnet3 device driver plugin
4 This plugin provides native PCI driver support for VMWare vmxnet3.
7 * This code is tested with vfio-pci driver installed with Ubuntu 18.04 which
8 has kernel version 4.15.0-33-generic.
10 * This code is tested with ESXi vSwitch version 6.0, release build 3620759.
12 * Driver requires MSI-X interrupt support, which is not supported by
13 uio_pci_generic driver, so vfio-pci needs to be used. On systems without IOMMU
14 vfio driver can still be used with recent kernels which support no-iommu mode.
28 sudo modprobe vfio-pci
31 2. (systems without IOMMU only) enable unsafe NOIOMMU mode
33 echo Y | sudo tee /sys/module/vfio/parameters/enable_unsafe_noiommu_mode
36 3. Bind interface to vfio-pci
38 sudo dpdk-devbind.py --bind vfio-pci 0b:00.0
41 ### Interface Creation
42 Interface can be dynamically created with following CLI:
44 create interface vmxnet3 0000:0b:00.0
45 set int state vmxnet3-0/b/0/0 up
48 ### Interface Deletion
49 Interface can be deleted with following CLI:
51 delete interface vmxnet3 <if-name>
54 ### Interface Statistics
55 Interface statistics can be displayed with `show hardware-interface <if-name>`
58 ### Show Interface CLI
59 Interface and ring information can be obtained with
60 `show vmxnet3 [if-name] [desc]`