net/vhost: fix queue state not reset on destroy
authorRich Lane <rich.lane@bigswitch.com>
Fri, 1 Jul 2016 16:31:12 +0000 (09:31 -0700)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Mon, 11 Jul 2016 02:57:39 +0000 (04:57 +0200)
commitf4e4b1f1f85e0eed4c3b2b7e40e7e797e618f368
tree09c3853fbe6b38be17220c2fecb72fa2345cee35
parentbb7085b46ac502e9b494e30d2961400d4baf7a4f
net/vhost: fix queue state not reset on destroy

Fixes a bug where rte_eth_vhost_get_queue_event would not return enabled
queues after a guest application restart.

Fixes: ee584e9710b9 ("vhost: add driver on top of the library")

Signed-off-by: Rich Lane <rich.lane@bigswitch.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/vhost/rte_eth_vhost.c