Back in May I wrote this piece about USB Ethernet drivers for ESXi. I have been using both Realtek and ASIX adapters to complement the single Ethernet adapter on the Intel NUCs, and they have proved to be rock solid.
Fast forward a few months, and as soon as ESXi 6.5 was announced people started asking if I could recompile the drivers for the new release. Finally I had some time this week to look into that. The result? A lot of wasted time downloading the 6.5 disclosure packages, setting up the environment, tweaking build scripts, etc. It turns out that compiling the drivers in the ESXi 6.0 environment I built previously worked much better, with just a single trivial change to the USB namespace.
The single change I had to make was to change the namespace dependencies map from this:
echo -e "VMK_NAMESPACE_REQUIRED(\"com.vmware.usb\", \"126.96.36.199\");\ \nVMK_NAMESPACE_REQUIRED(\"com.vmware.usbnet\", \"188.8.131.52\");"\
echo -e "VMK_NAMESPACE_REQUIRED(\"com.vmware.usb\", \"10.0\");\ \nVMK_NAMESPACE_REQUIRED(\"com.vmware.usbnet\", \"184.108.40.206\");"\
Note the sneak change introduced by VMware – the USB namespace is version 10.0 now…
Quite a lot! Apart from the new functionality discussed in detail by the VMware Gurus elsewhere, looking at the latest ODP packages clearly reveals VMware’s intention to move away from what they call “legacy” drivers.
The USB Ethernet drivers are dependent on two legacy modules (usb and usbnet); the modules are still available in ESXi 6.5, but will not load by default.
My first attempt at loading the USB Ethernet drivers failed miserably. It took me some time to realise that in 6.5 all legacy USB drivers (xhci, ehci-hcd, usb-uhci, usb, usb-storage, etc.) have been replaced by a single native driver called vmkusb. It serves me right for not paying attention to the various announcements…
Anyway, in order to get the USB Ethernet drivers to load the vmkusb module must be disabled for the legacy USB drivers to load. The details are described in the VMware Knowledge Base article 2147650.
Other than the above, there are no material differences between 6.0 and 6.5 for the legacy adapters so all performance figures described on the previous article are still valid.
The following devices were tested with these drivers.
Tested by Glen Kemp
USB 2.0 Adapter (RTL8152B Chipset)
Tested by Glen Kemp
You can download the VIBs using the following links: