> -----Original Message----- > From: Ma, WenwuX <wenwux...@intel.com> > Sent: Saturday, March 5, 2022 12:24 AM > To: maxime.coque...@redhat.com; Xia, Chenbo <chenbo....@intel.com>; > dev@dpdk.org > Cc: Hu, Jiayu <jiayu...@intel.com>; Wang, Yinan <yinan.w...@intel.com>; He, > Xingguang <xingguang...@intel.com>; Ma, WenwuX <wenwux...@intel.com>; > sta...@dpdk.org > 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: sta...@dpdk.org > > Signed-off-by: Wenwu Ma <wenwux...@intel.com> > --- > examples/vhost/main.c | 83 +++++++++++++++---------------------------- > 1 file changed, 29 insertions(+), 54 deletions(-)
Reviewed-by: Chenbo Xia <chenbo....@intel.com>