Re: [dpdk-dev] [PATCH v3 2/7] net/virtio_user: fix not properly reset device

2017-01-03 Thread Yuanhan Liu
On Wed, Jan 04, 2017 at 03:59:21AM +, Jianfeng Tan wrote: > virtio_user is not properly reset when users call vtpci_reset(), > as it ignores VIRTIO_CONFIG_STATUS_RESET status in > virtio_user_set_status(). > > This might lead to initialization failure as it starts to re-init > the device befor

[dpdk-dev] [PATCH v3 2/7] net/virtio_user: fix not properly reset device

2017-01-03 Thread Jianfeng Tan
virtio_user is not properly reset when users call vtpci_reset(), as it ignores VIRTIO_CONFIG_STATUS_RESET status in virtio_user_set_status(). This might lead to initialization failure as it starts to re-init the device before sending RESET messege to backend. Besides, previous callfds and kickfds