SR-IOV testing hyper server 2012 R2

defrey
defrey used Ask the Experts™
on
Hi,

Just for testing purpose I have created a switch with SR-IOV enabled.
I have connected a VM to the switch but not sure if the SR-IOV is actually working.

In the VM device manager, I cannot see the adapter from the SR-IOV .
Under Networking, the status is OK.

My network adapter is a Broadcom NetXtreme Gigabit

Where / HOw can I check Network card compatibility with SR-IOV?
Do I require any special hardware , e.g:..10GB switch etc...

Thank you
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Security and Infrastructure Engineer
Commented:
From a PowerShell prompt run the command:
(Get-VMHost).IovSupportReasons
Robin CMSenior Security and Infrastructure Engineer

Commented:
You can also use:
Get-NetAdapterSriov | Format-List *

Author

Commented:
Hi Robin,

I ll try that tonight, but what about "Do I require any special hardware , e.g:..10GB switch etc...
"?

Thanks
OWASP: Threats Fundamentals

Learn the top ten threats that are present in modern web-application development and how to protect your business from them.

Robin CMSenior Security and Infrastructure Engineer

Commented:
Single Root IO Virtualisation allows you to have a compliant PCIe device and present this as (multiple) virtual PCIe instances in your server. These can then be presented to VMs. Thus from the point of view of the cable and switch that you physically plug into the network card, it's just one network card, it only appears as multiple ones within the server.
The benefit (potentially) that SR-IOV gives you is that the data flow between the VF (the virtual function of the SR-IOV device that shows within the VM) bypasses the hypervisor and goes straight to the PF (physical function) of the card, and thus could (should) provide better performance/lower latency etc.

Author

Commented:
Hi Robin,

The command " (Get-VMHost).IovSupportReasons " answered my question perfectly

Thank you
Robin CMSenior Security and Infrastructure Engineer

Commented:
Good, it is a surprisingly helpful command :-)

Commented:
Actually I am working on something similar and I've opened a question here:

http://www.experts-exchange.com/questions/28709497/Configuring-SR-IOV-Hyper-V-host-The-VMs-are-not-connecting-to-the-network-VM-NIC-shows-unidentified-network.html

I've explained multiple commands that I have used to confirm the SR-IOV, in my case everything is working from hardware and software but I can't get the VMs to connect to the network. I have configured the Cisco ports with a VLAN not a trunk and used those NICs (SR-IOV enabled) as part of a virtual switch that is attached to the VM but the network shows up as undefined. Have you done any specific configuration on the physical switches in order to get this going?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial