[PATCH v2] examples/vhost: fix launch failure with physical port

Xia, Chenbo chenbo.xia at intel.com
Fri Mar 4 10:51:23 CET 2022


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

Reviewed-by: Chenbo Xia <chenbo.xia at intel.com>


More information about the stable mailing list