On Wed, 1 Apr 2020 11:33:21 +0000
"McLeod, Dennis" <dennis.mcl...@molex.com> wrote:

> I am working on a project in which we have a driver that does the
> necessary register_netdev() stuff at the kernel level. If I wanted to
> take advantage of the vfio framework .. how would the device get
> registered as a network device (with the kernel) if I have to unbind
> my driver to bind vfio-pci? Very new to vfio, so apologies in advance
> if my understanding is way off the mark.

vfio is for writing userspace drivers, not for writing kernel drivers
in userspace.  If you want a netdev, write a kernel driver.  If you
want to bypass the kernel network stack with a driver entirely in
userspace (ex. DPDK), use vfio.  Thanks,

Alex

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

Reply via email to