From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] lib/librte_vhost: update used->idx when allocation of mbuf fails Date: Fri, 27 Mar 2015 12:05:54 +0100 Message-ID: <1641490.bra5KqHitd@xps13> References: <1426902420-21492-1-git-send-email-haifeng.lin@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Linhaifeng Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > >> When failed to malloc buffer from mempool we just update last_used_idx > >> but not used->idx so after many times vhost thought have handle all packets > >> but virtio_net thought vhost have not handle all packets and will not update > >> avail->idx. > >> > >> Signed-off-by: Linhaifeng > > Acked-by: Changchun Ouyang > Acked-by: Huawei Xie Applied, thanks