net/virtio-user: do not reset virtqueues for split ring
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 5 Feb 2020 02:11:08 +0000 (10:11 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 10:47:18 +0000 (11:47 +0100)
commit92771257316f04157a863885979397731e755096
tree4412a6be97673a52925afd819d4e0d9bf4b49dd5
parentff44839929d0bea529be581ba784a48d085ab893
net/virtio-user: do not reset virtqueues for split ring

Add missing braces to avoid resetting virtqueues unconditionally
during reconnection.

Fixes: 6ebbf4109f35 ("net/virtio-user: fix packed ring server mode")
Cc: stable@dpdk.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_user_ethdev.c