On 10/13/20 3:45 AM, Patrick Fu wrote: > Add check on the async vector buffer usage to prevent the buf overrun. > If the unused vector buffer is not sufficient to prepare for next > packet's iov creation, an async transfer will be triggered immediately > to free the vector buffer. > > Fixes: 78639d54563a ("vhost: introduce async enqueue registration API") > > Signed-off-by: Patrick Fu <patrick...@intel.com> > --- > lib/librte_vhost/vhost.h | 2 +- > lib/librte_vhost/virtio_net.c | 13 ++++++++++++- > 2 files changed, 13 insertions(+), 2 deletions(-) > Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com> Thanks, Maxime
- [dpdk-dev] [PATCH v4 0/4] optimize async data path Patrick Fu
- [dpdk-dev] [PATCH v4 3/4] vhost: fix async vector buf... Patrick Fu
- Re: [dpdk-dev] [PATCH v4 3/4] vhost: fix async ve... Maxime Coquelin
- [dpdk-dev] [PATCH v4 1/4] vhost: simplify async copy ... Patrick Fu
- Re: [dpdk-dev] [PATCH v4 1/4] vhost: simplify asy... Maxime Coquelin
- [dpdk-dev] [PATCH v4 2/4] vhost: dynamically allocate... Patrick Fu
- Re: [dpdk-dev] [PATCH v4 2/4] vhost: dynamically ... Maxime Coquelin
- [dpdk-dev] [PATCH v4 4/4] vhost: fix async unregister... Patrick Fu
- Re: [dpdk-dev] [PATCH v4 4/4] vhost: fix async un... Maxime Coquelin
- Re: [dpdk-dev] [PATCH v4 0/4] optimize async data pat... Maxime Coquelin