This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1977921 - [FEAT] Requesting SR-IOV support over VirtIO devices
Summary: [FEAT] Requesting SR-IOV support over VirtIO devices
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: virtio-win
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Yvugenfi@redhat.com
QA Contact: Qianqian Zhu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-30 17:42 UTC by Sunil Rani
Modified: 2023-08-15 07:27 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-15 07:27:36 UTC
Type: Story
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-1216 0 None Migrated None 2023-08-23 14:45:07 UTC

Description Sunil Rani 2021-06-30 17:42:25 UTC
Description of problem:We are able to load drivers on VirtIO Physical functions, but after binding to vSwitch we don't see any VF's. there is no option to enable SRIOV for VirtIO devices. Talking to one of the developers (Yan VugenFirer), they needed to discuss internally the timeframe for the implementation.

Comment 1 Alaa Hleihel (NVIDIA Mellanox) 2021-07-01 06:44:20 UTC
1. Feature Overview
        a. Name of feature:
           SR-IOV support over VirtIO devices

        b. Feature description:
            We are able to load drivers on VirtIO Physical functions, but after binding to vSwitch we don't see any VF's.
            There is no option to enable SRIOV for VirtIO devices.
            Talking to one of the developers (Yan VugenFirer), they needed to discuss internally the timeframe for the implementation.

2. Feature Details
        a. Architectures: Intel / AMD (x86_64), POWER LE (ppc64le), IBM Z (s390x), 64-bit ARM (aarch64):
           x86_64
        b. Bugzilla dependencies:
        c. Drivers or hardware dependencies, including a specific platform or CPU:
             Mellanox ConnectX network cards.
        d. Library or other software dependencies:
        e. Upstream acceptance information, including Linus' kernel version in which the         
           feature appears and the date on which this feature was accepted or is targeted
           for acceptance into Linus' kernel:
        f. External links:
        g. Severity (H,M,L): High (required for Hardware Enablement), Medium, Low:
            High
        h. Feature required by date (for example, the date on which hardware requiring this feature is planned for launch):
3. Business Justification
        a. Why is this feature needed?
            Required to support a project for our customers.
        b. What hardware or software does this enable?
            Mellanox ConnectX network cards.
        c. If hardware, is it on-board in a system (eg, LOM) or an add-on card?
            Add-on card.
        d. Business impact?
            Needed by a major customer.
        e. What market problems / audience does it address?
4. QE Test Plan
5. Primary contact at Red Hat, email, phone (chat)
        a. Andre Beausoleil 
        b. abeausol
6. Primary contact at Partner, email, phone (chat)
        a. Sunil Rani
        b. sunrani

        a. Alaa Hleihel
        b. ahleihel

Comment 2 Yanghang Liu 2021-07-07 08:34:43 UTC
Hi, Yan

If possible, could you please provide the detailed test steps for this bug ?

Comment 3 Yvugenfi@redhat.com 2021-07-07 09:05:54 UTC
(In reply to Yanghang Liu from comment #2)
> Hi, Yan
> 
> If possible, could you please provide the detailed test steps for this bug ?

When the feature will be available, I will provide the test steps.

For now, it is impossible to created VFs for virtio-net devices on a Windows host.

Comment 4 Yanghang Liu 2021-07-07 09:44:44 UTC
Hi Yan, 


I have a few questions about this bug that I want to confirm with you in advance.

Thanks a lot for your help.

(1) 
>  Drivers or hardware dependencies, including a specific platform or CPU: Mellanox ConnectX network cards.

Do we have to use this "Mellanox ConnectX network cards" to test and reproduce this bug?

Can it be replaced by other SRIOV nic(like 82599ES、BCM57810) or non-SRIOV nic ?


(2)
> For now, it is impossible to created VFs for virtio-net devices on a Windows *host*

Is it acceptable that QE reproduce and test this bug in a Windows *vm* ?

If the answer is yes, please help check the question 3 as well.


(3) 
> VirtIO Physical Functions

What does "VirtIO Physical functions" refer to ?

I am not sure if this "VirtIO Physical functions" is similar to the devices I use in the following two test scenarios.

Could you please help confirm that ?

Test scenarios 1:

(3.1.1) create a bridge and add a PF interface into this bridge on the host 

(3.1.2) start a Windows vm with a virtio net pci device

The qemu cmd line of the "virtio net pci device" is as following:
-netdev tap,fd=40,id=hostnet0,vhost=on,vhostfd=41 \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=f4:8e:38:c3:85:85,bus=pci.1,addr=0x0 \

Test scenarios 2:

(3.2.1) choose a PF and then bind the PF driver to the vfio-pci

(3.2.2) start a Windows vm with this PF

The qemu cmd line of the PF is as following:
-device vfio-pci,host=$domain:$bus:$device.$function,id=hostdev0 \

(4) 
>  binding to vSwitch

Is this step similar to the one in the following link? 

https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-switch-for-hyper-v-virtual-machines

Do I need to do any additional operations for binding Physical functions to vSwitch  ?

Comment 10 RHEL Program Management 2023-04-30 07:28:12 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 11 RHEL Program Management 2023-08-14 07:27:43 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 12 RHEL Program Management 2023-08-15 07:27:36 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues.


Note You need to log in before you can comment on or make changes to this bug.