[dpdk-dev] [PATCH v3] lib/librte_vhost: update used->idx when allocation of mbuf fails

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Mar 27 12:05:54 CET 2015


> >> 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>
> Acked-by: Huawei Xie <huawei.xie at intel.com>

Applied, thanks


More information about the dev mailing list