Hello! I need VM to be able to talk to hypervisor and/or other VMs on same PF even if cable is disconnected. I found this article which describes the process of configuring Mellanox Adapter this way.
It is possible to change the link state as seen by the VF. The set options are:
-
auto: a reflection of the PF link state (default)
-
enable: lets the VF to communicate with other VFs on this host even if the PF link state is down
-
disable: causes the HW to drop any packets sent by the VF.
#ip link set vf <vf_index> state auto|enable|disable
But this manual is for linux. Is it possible to do this in ESXi? ESXi doesn’t have ip link command.
I checked all tools under /opt/mellanox/bin and didn’t find anything to configure VF link state.
I tried nmlxcli without any luck.
My Mellanox Adapter is ConnectX-4 Lx, ESXi 6.5U3, latest native drivers.
Please help!