[dpdk-dev] [PATCH] vhost: make destroy callback on VHOST_USER_RESET_OWNER

2015-11-12 Thread Thomas Monjalon
2015-11-10 10:25, Yuanhan Liu: > On Mon, Nov 09, 2015 at 06:15:13PM -0800, Rich Lane wrote: > > QEMU sends this message first when shutting down. There was previously no > > way > > for the dataplane to know that the virtio_net instance had become unusable > > and > > it would segfault when

[dpdk-dev] [PATCH] vhost: make destroy callback on VHOST_USER_RESET_OWNER

2015-11-10 Thread Tetsuya Mukawa
On 2015/11/10 11:25, Yuanhan Liu wrote: > On Mon, Nov 09, 2015 at 06:15:13PM -0800, Rich Lane wrote: >> QEMU sends this message first when shutting down. There was previously no way >> for the dataplane to know that the virtio_net instance had become unusable >> and >> it would segfault when

[dpdk-dev] [PATCH] vhost: make destroy callback on VHOST_USER_RESET_OWNER

2015-11-10 Thread Yuanhan Liu
On Tue, Nov 10, 2015 at 12:51:42PM +0900, Tetsuya Mukawa wrote: > On 2015/11/10 11:25, Yuanhan Liu wrote: > > On Mon, Nov 09, 2015 at 06:15:13PM -0800, Rich Lane wrote: > >> QEMU sends this message first when shutting down. There was previously no > >> way > >> for the dataplane to know that the

[dpdk-dev] [PATCH] vhost: make destroy callback on VHOST_USER_RESET_OWNER

2015-11-10 Thread Yuanhan Liu
On Mon, Nov 09, 2015 at 06:15:13PM -0800, Rich Lane wrote: > QEMU sends this message first when shutting down. There was previously no way > for the dataplane to know that the virtio_net instance had become unusable and > it would segfault when trying to do RX/TX. > > Signed-off-by: Rich Lane

[dpdk-dev] [PATCH] vhost: make destroy callback on VHOST_USER_RESET_OWNER

2015-11-09 Thread Rich Lane
QEMU sends this message first when shutting down. There was previously no way for the dataplane to know that the virtio_net instance had become unusable and it would segfault when trying to do RX/TX. Signed-off-by: Rich Lane --- lib/librte_vhost/virtio-net.c | 3 +++ 1 file changed, 3