> From: Alexander Duyck <alexander.duyck@xxxxxxxxx> > Sent: Wednesday, December 16, 2020 9:43 AM > > > > > That is goal here. This is not about creating just a netdev, this is > > about the whole kit: rdma, netdev, vdpa virtio-net, virtio-mdev. > > One issue is right now we are only seeing the rdma and netdev. It is kind of > backwards as it is using the ADIs on the host when this was really meant to > be used for things like mdev. > mdev is just yet another _use_ of subfunction. There are users of subfunction who want to use it without mapping subfunction as mdev to guest VM. i.e. as netdev, rdma, vdpa. In future direct assignment can be via mdev of subfunction, like how rest of the above devices are done. Creating a subfunction for non vfio purpose via vfio mdev is just not right. If I understand you correctly, I hope you are not suggesting that.