SR-IOV in CVM

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
mstewart_83
Posts: 3
Joined: Thu Mar 28, 2024 4:17 pm

Thu Mar 28, 2024 4:23 pm

Is SR-IOV supported in CVM for HyperV 2022? When I enable it on the CVM virtual machine nic, I get a message in HyperV manager that the nic status is degraded (sr-iov not operational).

Thanks,
yaroslav (staff)
Staff
Posts: 2852
Joined: Mon Nov 18, 2019 11:11 am

Thu Mar 28, 2024 4:27 pm

SR-IOV is supported by CVM.
The question is whether your NIC supports SR-IOV.
Make sure it can be toggled in BIOS.
mstewart_83
Posts: 3
Joined: Thu Mar 28, 2024 4:17 pm

Thu Mar 28, 2024 4:33 pm

I'm using Quad port Intel E810 25GB adapters which do support SR-IOV. I don't have any issues enabling it on Windows VMs. It's just the Starwind CVM appliances that have the issue.

Is there something that I need to do within the CVM console to get SR-IOV working?
yaroslav (staff)
Staff
Posts: 2852
Joined: Mon Nov 18, 2019 11:11 am

Thu Mar 28, 2024 5:25 pm

Thanks for your update.
Oh, I love those NICs. From my experience E810s are quite tricky in terms of drivers, MTUs, and RDMA support. May be tricky for the future NVMe-oF/RoCE support.
You do not need to do any specific settings with CVM. Can you please let me know how exactly it is not working? Having screenshots will be helpful.
There is a known issue with SR-IOV support where the virtual function inherits the adapter properties instead of being just a listener. The problem manifests itself as the adapter going dark after the restart. It can be fixed by a series of restarts. This occasionally happens on Hyper-V. If this is a lab, we could have a call (reach out to support@starwind.com; this thread and 1135675 will be your references) to poke around your cluster.
If that does not work for you, please configure Hyper-V switches instead of SR-IOV while we are working on the fix.
geekbeets
Posts: 1
Joined: Fri Apr 05, 2024 3:22 am
Contact:

Fri Apr 05, 2024 3:24 am

Thanks, got it working.
Last edited by geekbeets on Tue May 28, 2024 10:21 am, edited 1 time in total.
yaroslav (staff)
Staff
Posts: 2852
Joined: Mon Nov 18, 2019 11:11 am

Fri Apr 05, 2024 7:33 am

You are welcome.
villagetunic
Posts: 1
Joined: Mon Jun 17, 2024 11:23 am
Contact:

Mon Jun 17, 2024 11:24 am

I can confirm that my adapters, which are quad port Intel E810 25GB, are SR-IOV compatible. On Windows virtual machines, I have no problems turning it on. The problem only occurs with the Starwind CVM equipment.
SiegfriedB
Posts: 15
Joined: Thu Oct 12, 2023 6:20 pm

Mon Jun 17, 2024 12:00 pm

Just to quickly chime in here: This is still unresolved for me (E810 SR-IOV with CVM). It's been a couple of months since I last touched this subject but, if memory serves, E810 SR-IOV works in a Hyper-V Windows VM and it works in an Ubuntu Live VM out of the box but it doesn't work in the CVM. Perhaps the virtual function driver (iavf) in the CVM needs to be updated?

From Ubuntu live with SR-IOV working:
Image
Image
yaroslav (staff)
Staff
Posts: 2852
Joined: Mon Nov 18, 2019 11:11 am

Mon Jun 17, 2024 3:40 pm

Hi,

Thanks for your update.
May I wonder if you updated the CVM to the latest build already?
SiegfriedB
Posts: 15
Joined: Thu Oct 12, 2023 6:20 pm

Tue Jun 18, 2024 4:13 pm

yaroslav (staff) wrote:
Mon Jun 17, 2024 3:40 pm
Hi,

Thanks for your update.
May I wonder if you updated the CVM to the latest build already?
I was testing with the version downloaded on Oct, 13 2023.
yaroslav (staff)
Staff
Posts: 2852
Joined: Mon Nov 18, 2019 11:11 am

Tue Jun 18, 2024 5:17 pm

There has been a new build released this month. Please check it out.
Post Reply