* [Qemu-devel] [Questio] What the proper vfio NIC for emulation smmu?
@ 2018-06-22 1:44 Jia He
2018-06-22 6:39 ` Auger Eric
0 siblings, 1 reply; 3+ messages in thread
From: Jia He @ 2018-06-22 1:44 UTC (permalink / raw)
To: Eric Auger; +Cc: qemu-devel, qemu-arm
Hi Eric
I want to test your smmu emulation patchset with vfio-pci ethernet device.
Could you kindly give me the NIC type information.
In my test, there is vf probe error for menallox connect 4 NIC and TX Unit
hang error for Intel X540 NIC. That's the reason why I ask this question.
--
Cheers,
Jia
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [Questio] What the proper vfio NIC for emulation smmu?
2018-06-22 1:44 [Qemu-devel] [Questio] What the proper vfio NIC for emulation smmu? Jia He
@ 2018-06-22 6:39 ` Auger Eric
2018-06-22 7:05 ` Jia He
0 siblings, 1 reply; 3+ messages in thread
From: Auger Eric @ 2018-06-22 6:39 UTC (permalink / raw)
To: Jia He; +Cc: qemu-arm, qemu-devel
Hello Jia,
On 06/22/2018 03:44 AM, Jia He wrote:
> Hi Eric
> I want to test your smmu emulation patchset with vfio-pci ethernet device.
> Could you kindly give me the NIC type information.
> In my test, there is vf probe error for menallox connect 4 NIC and TX Unit
> hang error for Intel X540 NIC. That's the reason why I ask this question.
>
virtual SMMUv3 is not integrated with VFIO and is not planned to be. It
was tested with virtio-net-pci (without vhost-net).
With upstream code you should see the following warning:
"SMMUV3 does not support vhost/vfio integration yet: devices of those
types will not function properly"
With "[PATCH v3 0/4] ARM SMMUv3: IOTLB Emulation and VHOST Support",
vhost-net gets integrated. VFIO won't be integrated either. If vfio-pci
device are attempted to be used along with vsmmu, you will get
"SMMUv3 does not support notification on MAP: device %s will not
function properly"
My attempt to integrate the vsmmu with VFIO in the same manner as intel
iommu (using a fake caching mode) was rejected by the kernel maintainer.
So for VFIO use case, we need either 2 stage enablement (not implemented
yet) or virtio-iommu. I will respin this latter against v0.7 spec
probably next week.
Thanks
Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [Questio] What the proper vfio NIC for emulation smmu?
2018-06-22 6:39 ` Auger Eric
@ 2018-06-22 7:05 ` Jia He
0 siblings, 0 replies; 3+ messages in thread
From: Jia He @ 2018-06-22 7:05 UTC (permalink / raw)
To: Auger Eric; +Cc: qemu-arm, qemu-devel
Hi Eric
On 6/22/2018 2:39 PM, Auger Eric Wrote:
> Hello Jia,
>
> On 06/22/2018 03:44 AM, Jia He wrote:
>> Hi Eric
>> I want to test your smmu emulation patchset with vfio-pci ethernet device.
>> Could you kindly give me the NIC type information.
>> In my test, there is vf probe error for menallox connect 4 NIC and TX Unit
>> hang error for Intel X540 NIC. That's the reason why I ask this question.
>>
> virtual SMMUv3 is not integrated with VFIO and is not planned to be. It
> was tested with virtio-net-pci (without vhost-net).
>
> With upstream code you should see the following warning:
>
> "SMMUV3 does not support vhost/vfio integration yet: devices of those
> types will not function properly"
>
> With "[PATCH v3 0/4] ARM SMMUv3: IOTLB Emulation and VHOST Support",
> vhost-net gets integrated. VFIO won't be integrated either. If vfio-pci
> device are attempted to be used along with vsmmu, you will get
> "SMMUv3 does not support notification on MAP: device %s will not
> function properly"
Thanks for the information. Actually, I am using your vsmmu-optim-v3 branch.
I assumed vfio worked fine since you removed that warning in commit
("hw/arm/smmuv3: Add notifications on invalidation"). Seems I am wrong ;-)
>
> My attempt to integrate the vsmmu with VFIO in the same manner as intel
> iommu (using a fake caching mode) was rejected by the kernel maintainer.
> So for VFIO use case, we need either 2 stage enablement (not implemented
> yet) or virtio-iommu. I will respin this latter against v0.7 spec
> probably next week.
Ok. got it, thanks
>
> Thanks
>
> Eric
>
--
Cheers,
Jia
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-22 7:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-22 1:44 [Qemu-devel] [Questio] What the proper vfio NIC for emulation smmu? Jia He
2018-06-22 6:39 ` Auger Eric
2018-06-22 7:05 ` Jia He
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).