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.
27 sudo modprobe vfio-pci
30 2. (systems without IOMMU only) enable unsafe NOIOMMU mode
32 echo Y | sudo tee /sys/module/vfio/parameters/enable_unsafe_noiommu_mode
35 3. Bind interface to vfio-pci
37 sudo dpdk-devbind.py --bind vfio-pci 0b:00.0
40 ### Interface Creation
41 Interface can be dynamically created with following CLI:
43 create interface vmxnet3 0000:0b:00.0
44 set int state vmxnet3-0/b/0/0 up
47 ### Interface Deletion
48 Interface can be deleted with following CLI:
50 delete interface vmxnet3 <if-name>
53 ### Interface Statistics
54 Interface statistics can be displayed with `show hardware-interface <if-name>`
57 ### Show Interface CLI
58 Interface and ring information can be obtained with
59 `show vmxnet3 [if-name] [desc]`