[PATCH] net/virtio-user: add VIRTIO_F_ORDER_PLATFORM to feature list
Nithin Dabilpuram
nithind1988 at gmail.com
Mon Apr 15 11:45:27 CEST 2024
Ping.
Thanks
Nithin
On Tue, Feb 20, 2024 at 5:10 PM Nithin Dabilpuram
<ndabilpuram at marvell.com> wrote:
>
> VIRTIO_F_ORDER_PLATFORM is needed feature when working with
> real HW platforms that are exposing virtio-net devices
> via VDPA framework. This feature helps in having more
> real ordering requirements between descriptor updates and
> notification data updates. Hence enable it if the
> device supports the feature.
>
> Signed-off-by: Nithin Dabilpuram <ndabilpuram at marvell.com>
> ---
> drivers/net/virtio/virtio_user/virtio_user_dev.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/virtio/virtio_user/virtio_user_dev.c b/drivers/net/virtio/virtio_user/virtio_user_dev.c
> index d395fc1676..6ece3c6621 100644
> --- a/drivers/net/virtio/virtio_user/virtio_user_dev.c
> +++ b/drivers/net/virtio/virtio_user/virtio_user_dev.c
> @@ -701,6 +701,7 @@ virtio_user_free_vrings(struct virtio_user_dev *dev)
> 1ULL << VIRTIO_F_VERSION_1 | \
> 1ULL << VIRTIO_F_RING_PACKED | \
> 1ULL << VIRTIO_F_NOTIFICATION_DATA | \
> + 1ULL << VIRTIO_F_ORDER_PLATFORM | \
> 1ULL << VIRTIO_NET_F_RSS)
>
> int
> --
> 2.25.1
>
More information about the dev
mailing list