Re: [dpdk-dev] [RFC 1/3] vhost: invalidate vring addresses in cleanup_vq()

2018-02-27 Thread Jens Freimann
On Tue, Feb 27, 2018 at 12:44:08PM +0100, Maxime Coquelin wrote: Hi Jens, On 02/27/2018 12:22 PM, Jens Freimann wrote: On Thu, Feb 22, 2018 at 07:19:08PM +0100, Maxime Coquelin wrote: [...] int?? slave_req_fd; +?? uint8_t?? virtio_status; Belongs

Re: [dpdk-dev] [RFC 1/3] vhost: invalidate vring addresses in cleanup_vq()

2018-02-27 Thread Maxime Coquelin
Hi Jens, On 02/27/2018 12:22 PM, Jens Freimann wrote: On Thu, Feb 22, 2018 at 07:19:08PM +0100, Maxime Coquelin wrote: When cleaning-up the virtqueue, we also need to invalidate its addresses to be sure outdated addresses won't be used later. Signed-off-by: Maxime Coquelin --- lib/librte_vhos

Re: [dpdk-dev] [RFC 1/3] vhost: invalidate vring addresses in cleanup_vq()

2018-02-27 Thread Jens Freimann
On Thu, Feb 22, 2018 at 07:19:08PM +0100, Maxime Coquelin wrote: When cleaning-up the virtqueue, we also need to invalidate its addresses to be sure outdated addresses won't be used later. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 6 -- lib/librte_vhost/vhost.h

[dpdk-dev] [RFC 1/3] vhost: invalidate vring addresses in cleanup_vq()

2018-02-22 Thread Maxime Coquelin
When cleaning-up the virtqueue, we also need to invalidate its addresses to be sure outdated addresses won't be used later. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost.c | 6 -- lib/librte_vhost/vhost.h | 4 +++- lib/librte_vhost/vhost_user.c | 2 +- 3 files changed,