net/virtio-user: fix packed vq option parsing
authorTiwei Bie <tiwei.bie@intel.com>
Thu, 3 Jan 2019 02:40:06 +0000 (10:40 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:29 +0000 (17:44 +0100)
commit9070f88b81dab42739fb169265e3ea727e47dfa2
tree8c875701775d1c1c8292c15232c81d4a7138c985
parentdc5a6e74224094ae702fa971c4ce039b4a2e3560
net/virtio-user: fix packed vq option parsing

Add the RING_PACKED feature to dev->unsupported_features
when it's disabled, and add the missing packed vq param
string. And also revert the unexpected change to MAC option
introduced when adding packed vq option.

Fixes: 34f3966c7f81 ("net/virtio-user: add option to use packed queues")

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_user/virtio_user_dev.c
drivers/net/virtio/virtio_user_ethdev.c