> -----Original Message----- > From: linhaifeng [mailto:haifeng.lin at huawei.com] > Sent: Saturday, March 21, 2015 9:47 AM > To: dev at dpdk.org > Cc: Ouyang, Changchun; Xie, Huawei > Subject: [PATCH v3] lib/librte_vhost: update used->idx when allocation of > mbuf fails > > From: Linhaifeng <haifeng.lin at huawei.com> > > 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 <haifeng.lin at huawei.com>
Acked-by: Changchun Ouyang <changchun.ouyang at intel.com>