Hi Roja,

On 11/4/20 4:27 PM, Roja Eswaran wrote:
> I am using Jetson Xavier NX which integrates a Realtek RTL8211FDI
> Gigabit Ethernet controller.  The on-module Ethernet controller
> supports 10/100/1000 Gigabit Ethernet IEEE 802.3u Media Access
> Controller (MAC).
>  I am trying to assign Non-PCI NIC mentioned above directly to the
> Vanilla VM. As it's not a PCI device, I have no idea how I can achieve
> this.
>
> 1) Is it possible to do a direct assignment on Non-PCI devise to VM
> using VFIO drivers? 
> 2) If not, are there any other drivers that would help me achieve the
> direct assignment? 
> The direct assignment is important because we are trying to reduce the
> CPU utilization even though virtio drivers give us a very small
> network latency overhead. Any comments or insights are really
> appreciated. Thank you so much for your time!
Is the NIC protected by an IOMMU? In the positive you may try to use
VFIO platform supported by Linux and QEMU. But this is not as
straighforward as PCI. You need to add a kernel reset module for that
NIC (rather simple). On QEMU side you need to generate the DT node for
that NIC. The feasability depends on the complexity of the host DT node.

Thanks

Eric
>
>
> --
> Thanks,
> Roja Eswaran
> Ph.D. Student, Operating Systems and Networks Laboratory
> State University of New York, Binghamton

_______________________________________________
vfio-users mailing list
vfio-users@redhat.com
https://listman.redhat.com/mailman/listinfo/vfio-users

Reply via email to