A new parameter was added to disable the workaround in ixgben driver version 1.7.20
It provided a method to disable the behavior of NIC link flapping.
In the release note of "ixgben 1.7.20" below is noted"- Link flapping after powering off the VM or during vMotion.
Workaround: use module parameter to disable the driver workaround for a kernel issue
(lost VLAN connectivity once the last VM in a port group has been shut down).
The kernel bug has been fixed in ESXi 6.5 U1 (and later releases), in which case the workaround can be safely disabled."To download the 1.7.20 version of driver go to Broadcom Portal
If ESXi is running on ESXi 6.0 P07 or ESXi6.5U1 and later, it's recommended to install ixgben 1.7.20 or above.
Then disable the "link flapping" workaround.
# esxcli system module parameters set -m ixgben -a -p "VlanRemoveWorkaround=0,0"
In above example,there were 2 network adapters using ixgben driver.Workaround:
1. To workaround on environment which is not running on ESXi 6.0 P07 or ESXi6.5U1 or later, install the driver version 1.7.20 and keep the parameter "
VlanRemoveWorkaround" at default enable status.
2. Alternatively you can use the VMware Inbox driver or the vmklinux based ixgbe driver.