From: Tiwei Bie Date: Thu, 3 Jan 2019 02:40:07 +0000 (+0800) Subject: net/virtio-user: fix supported features list X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8532a0fcd8f2cf3a5d3189b453bd90a69991b1b1;p=dpdk.git net/virtio-user: fix supported features list Currently virtio-user doesn't support event idx. Fixes: aea29aa5d37b ("net/virtio: enable packed virtqueues by default") Signed-off-by: Tiwei Bie Reviewed-by: Maxime Coquelin --- diff --git a/drivers/net/virtio/virtio_user/virtio_user_dev.c b/drivers/net/virtio/virtio_user/virtio_user_dev.c index e21e3ec3cc..b9044faff5 100644 --- a/drivers/net/virtio/virtio_user/virtio_user_dev.c +++ b/drivers/net/virtio/virtio_user/virtio_user_dev.c @@ -410,8 +410,7 @@ virtio_user_dev_setup(struct virtio_user_dev *dev) 1ULL << VIRTIO_NET_F_GUEST_TSO6 | \ 1ULL << VIRTIO_F_IN_ORDER | \ 1ULL << VIRTIO_F_VERSION_1 | \ - 1ULL << VIRTIO_F_RING_PACKED | \ - 1ULL << VIRTIO_RING_F_EVENT_IDX) + 1ULL << VIRTIO_F_RING_PACKED) int virtio_user_dev_init(struct virtio_user_dev *dev, char *path, int queues,