> -----Original Message----- > From: Ma, WenwuX <[email protected]> > Sent: Saturday, March 5, 2022 12:24 AM > To: [email protected]; Xia, Chenbo <[email protected]>; > [email protected] > Cc: Hu, Jiayu <[email protected]>; Wang, Yinan <[email protected]>; He, > Xingguang <[email protected]>; Ma, WenwuX <[email protected]>; > [email protected] > Subject: [PATCH v2] examples/vhost: fix launch failure with physical port > > dpdk-vhost will fail to launch with a 40G i40e port because > there are not enough mbufs. This patch adds a new option > --total-num-mbufs, through which the user can set larger > mbuf pool to avoid this problem. > > Fixes: 4796ad63ba1f ("examples/vhost: import userspace vhost application") > Cc: [email protected] > > Signed-off-by: Wenwu Ma <[email protected]> > --- > examples/vhost/main.c | 83 +++++++++++++++---------------------------- > 1 file changed, 29 insertions(+), 54 deletions(-)
Reviewed-by: Chenbo Xia <[email protected]>

