How to cleanly simulate link failure for SR-IOV VFs
Issue
There is a need of clean way how to simulate link failure for single VF on some PF of SR-IOV capable NIC.
It is not possible to simply pull out the cable from the NIC port because in this case we pull down all the VFs on the PF as well as the PF itself.
If we are able to cleanly simulate link failure for SR-IOV VF devices on the host OS, we are able at that time to simulate cleanly bond fail-over in the guest OS as well.
Environment
Rhel-6 kernel version >= 2.6.32-516.el6
One of these drivers for SR-IOV capable NIC in use:
- bnx2x
- bnx
- be2net
- mlx4
- mlx5
- qede
- i40e
- sfc
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
