Avatar of defrey
defrey
Flag for Australia asked on

SR-IOV testing hyper server 2012 R2

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
Hyper-VVirtualizationWindows Server 2012

Avatar of undefined
Last Comment
llarava

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Robin CM

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Robin CM

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

ASKER
Hi Robin,

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

Thanks
Robin CM

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.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
defrey

ASKER
Hi Robin,

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

Thank you
Robin CM

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

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

https://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?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.