[dpdk-dev] [PATCH] vhost: fix return avail ring position in get vring base

Maxime Coquelin maxime.coquelin at redhat.com
Fri Mar 2 12:09:27 CET 2018



On 02/21/2018 09:29 AM, Maxime Coquelin wrote:
> 
> 
> On 02/09/2018 06:28 PM, Tomasz Kulasek wrote:
>> According to the "Vhost-user Protocol" document,
>> VHOST_USER_GET_VRING_BASE should get the available vring base offset.
>>
>> Fixes: 8f972312b8f4 ("vhost: support vhost-user")
>> Cc:huawei.xie at intel.com
>> Cc:stable at dpdk.org
>>
>> Signed-off-by: Pawel Wodkowski<pawelx.wodkowski at intel.com>
>> Signed-off-by: Tomasz Kulasek<tomaszx.kulasek at intel.com>
>> ---
>>   lib/librte_vhost/vhost_user.c | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> 
> And applied to dpdk-next-virtio/master.

I changed the commit title to:
vhost: return the right ring index to the master on stop


Please let me know if this is ok for you.

Thanks,
Maxime

> Thanks!
> Maxime


More information about the dev mailing list