1 VMWARE vmxnet3 device driver
2 ============================
4 ##Overview This plugin provides native PCI driver support for VMWare
7 ##Prerequisites \* This code is tested with vfio-pci driver installed
8 with Ubuntu 18.04 which has kernel version 4.15.0-33-generic.
10 - This driver is tested with ESXi vSwitch version 6.5/6.7 for LRO/TSO
11 support, VMware Workstation 15 Pro (no LRO/TSO), and VMware Fusion 11
14 - Driver requires MSI-X interrupt support, which is not supported by
15 uio_pci_generic driver. So vfio-pci must be used. On systems without
16 IOMMU, vfio driver can still be used with 4.15.0-33-generic kernel
17 (Ubuntu 18.04) which supports no-iommu mode.
33 sudo modprobe vfio-pci
35 2. Make sure the interface is down
39 sudo ifconfig <if-name> down
41 Steps 3 and 4 are optional. They can be accomplished by specifying the
42 optional keyword “bind” when creating the vmxnet3 interface.
44 3. (systems without IOMMU only) enable unsafe NOIOMMU mode
48 echo Y | sudo tee /sys/module/vfio/parameters/enable_unsafe_noiommu_mode
50 4. Bind interface to vfio-pci
54 sudo dpdk-devbind.py --bind vfio-pci 0b:00.0
59 Interface can be dynamically created with following CLI, with or without
60 the bind option. If step 3 and 4 were executed, bind can be omitted.
64 create interface vmxnet3 0000:0b:00.0 bind
65 set int state vmxnet3-0/b/0/0 up
70 Interface can be deleted with following CLI:
74 delete interface vmxnet3 <if-name>
79 Interface statistics can be displayed with
80 ``show hardware-interface <if-name>`` command.
85 Interface and ring information can be obtained with
86 ``show vmxnet3 [if-name] [desc]``