How to manipulate SR-IOV virtual functions link state

Solution Verified - Updated -

Issue

Proper SR-IOV Virtual Function link up/down simulation.

It is not possible to simply pull the networking cable out from the physical port of the NIC itself.
This will put down the physical function itself as well as all the virtual functions possibly running on it.

Sometimes it is also useful not to put down all the possible running virtual functions on a physical function when it goes down for some reason.
Sometimes it is also useful not to put down virtual functions running on some physical function when it comes down.

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content