linux/drivers/vdpa/vdpa_user
Maxime Coquelin 894452180d vduse: enable Virtio-net device type
This patch adds Virtio-net device type to the supported
devices types.

Initialization fails if the device does not support
VIRTIO_F_VERSION_1 feature, in order to guarantee the
configuration space is read-only. It also fails with
-EPERM if the CAP_NET_ADMIN is missing.

Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Message-Id: <20240109111025.1320976-4-maxime.coquelin@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Xie Yongji <xieyongji@bytedance.com>
2024-03-19 08:19:15 -04:00
..
iova_domain.c vduse: implement DMA sync callbacks 2024-03-19 02:45:49 -04:00
iova_domain.h vduse: implement DMA sync callbacks 2024-03-19 02:45:49 -04:00
Makefile
vduse_dev.c vduse: enable Virtio-net device type 2024-03-19 08:19:15 -04:00