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

Ferruh Yigit ferruh.yigit at intel.com
Fri Mar 4 15:33:52 CET 2022


On 3/4/2022 9:51 AM, Xia, Chenbo wrote:
>> -----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>

Applied to dpdk-next-net/main, thanks.


More information about the stable mailing list