The problem of some PCI network cards not passing traffic sometimes appears to be related to trust setting on VF. This seems to fix:
sudo ip link set ens7f0 vf 13 trust [on|off]
https://docs.mellanox.com/pages/viewpage.action?pageId=19798214#SingleRootIOVirtualizationSRIOV-PrivilegedVFs
It seems the handler should 'toggle' trust on, then off from DOM0 to make sure the VF works properly.
It is not clear if this can be done prior or after the VF is attached to the VM.
This issue likely should be moved to AMHandlers repo.
The problem of some PCI network cards not passing traffic sometimes appears to be related to trust setting on VF. This seems to fix:
https://docs.mellanox.com/pages/viewpage.action?pageId=19798214#SingleRootIOVirtualizationSRIOV-PrivilegedVFs
It seems the handler should 'toggle' trust on, then off from DOM0 to make sure the VF works properly.
It is not clear if this can be done prior or after the VF is attached to the VM.
This issue likely should be moved to AMHandlers repo.