[dpdk-dev] [PATCH 1/2] vhost: fix overflow on shadow used ring

Tiwei Bie tiwei.bie at intel.com
Thu Jul 26 11:00:14 CEST 2018


On Thu, Jul 26, 2018 at 09:37:20AM +0800, Tiwei Bie wrote:
> The shadow used ring's size is the same as the vq's size,
> so we shouldn't try more than "vq size" times. Besides,
> the element pointed by avail->idx isn't available to the
> device, so we will return error when try "vq size" times.
> 
> Fixes: 24e4844048e1 ("vhost: unify Rx mergeable and non-mergeable paths")
> Fixes: a922401f35cc ("vhost: add Rx support for packed ring")
> 
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>

Series applied to dpdk-next-virtio/master.


More information about the dev mailing list