Bug 2057746

Summary: [RFE]Support multiqueue and mtu for vdpa interface type
Product: Red Hat Enterprise Linux 8 Reporter: yalzhang <yalzhang>
Component: libvirtAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED DUPLICATE QA Contact: yalzhang <yalzhang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: lmen, virt-maint, xuzhang
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-24 11:02:59 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description yalzhang@redhat.com 2022-02-24 02:09:43 UTC
Description of problem:
kernel and qemu now support multiqueue and mtu for vdpa type interface, libvirt does not support the settings 

Version-Release number of selected component (if applicable):
libvirt-8.0.0-4.module+el8.6.0+14186+211b270d.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Start vm with vdpa interface with multiqueue setting:
# virsh edit avocado-vt-vm1
...
 <interface type='vdpa'>
      <mac address='52:54:00:3f:fb:21'/>
      <source dev='/dev/vhost-vdpa-0'/>
      <model type='virtio'/>
      <driver queues='4'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>

# virsh start avocado-vt-vm1
error: Failed to start domain 'avocado-vt-vm1'
error: unsupported configuration: interface 52:54:00:3f:fb:21 - multiqueue is not supported for network interfaces of type vdpa

2. Set with mtu:
# virsh edit avocado-vt-vm1
<interface type='vdpa'>
      <mac address='52:54:00:3f:fb:21'/>
      <source dev='/dev/vhost-vdpa-0'/>
      <model type='virtio'/>
<mtu size='5000'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
error: unsupported configuration: setting MTU on interface type vdpa is not supported yet
Failed. Try again? [y,n,i,f,?]:
error: unsupported configuration: setting MTU on interface type vdpa is not supported yet
Failed. Try again? [y,n,f,?]:

Comment 2 yalzhang@redhat.com 2022-02-24 11:02:59 UTC
Close it as I have opened 2 of them. Sorry for that. Bugzilla report error when I first click submit, then I return and submit again...

*** This bug has been marked as a duplicate of bug 2057748 ***