Re: [dpdk-dev] [PATCH] examples/vhost: fix calc err of nr_mbufs_per_core

2017-01-11 Thread Yuanhan Liu
On Wed, Jan 11, 2017 at 10:52:17PM -0500, Yong Wang wrote: > When calculating 'nr_mbufs_per_core', 'MAX_PKT_BURST' was mutiplied > twice. Fix it by removing one of them. > > Fixes: bdb19b771e6f ("examples/vhost: fix mbuf allocation failure") > > Signed-off-by: Yong Wang Applied to dpdk-next-vir

[dpdk-dev] [PATCH] examples/vhost: fix calc err of nr_mbufs_per_core

2017-01-11 Thread Yong Wang
When calculating 'nr_mbufs_per_core', 'MAX_PKT_BURST' was mutiplied twice. Fix it by removing one of them. Fixes: bdb19b771e6f ("examples/vhost: fix mbuf allocation failure") Signed-off-by: Yong Wang --- examples/vhost/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e