Re: [RFC 1/2] vduse: validate block features only with block devices

2023-04-20 Thread Maxime Coquelin
On 4/20/23 06:06, Jason Wang wrote: On Wed, Apr 19, 2023 at 9:43 PM Maxime Coquelin wrote: This patch is preliminary work to enable network device type support to VDUSE. As VIRTIO_BLK_F_CONFIG_WCE shares the same value as VIRTIO_NET_F_HOST_TSO4, we need to restrict its check to Virtio-blk d

Re: [RFC 1/2] vduse: validate block features only with block devices

2023-04-19 Thread Jason Wang
On Wed, Apr 19, 2023 at 9:43 PM Maxime Coquelin wrote: > > This patch is preliminary work to enable network device > type support to VDUSE. > > As VIRTIO_BLK_F_CONFIG_WCE shares the same value as > VIRTIO_NET_F_HOST_TSO4, we need to restrict its check > to Virtio-blk device type. > > Signed-off-by

[RFC 1/2] vduse: validate block features only with block devices

2023-04-19 Thread Maxime Coquelin
This patch is preliminary work to enable network device type support to VDUSE. As VIRTIO_BLK_F_CONFIG_WCE shares the same value as VIRTIO_NET_F_HOST_TSO4, we need to restrict its check to Virtio-blk device type. Signed-off-by: Maxime Coquelin --- drivers/vdpa/vdpa_user/vduse_dev.c | 9 +