[dpdk-dev] [PATCH] examples/vhost: change the default value of NIC's max queues

Jiang, Cheng1 cheng1.jiang at intel.com
Fri Sep 10 04:12:47 CEST 2021


Acked-by: Cheng Jiang <cheng1.jiang at intel.com>



> -----Original Message-----
> From: Ma, WenwuX <wenwux.ma at intel.com>
> Sent: Friday, September 10, 2021 9:52 PM
> To: dev at dpdk.org
> Cc: maxime.coquelin at redhat.com; Xia, Chenbo <chenbo.xia at intel.com>;
> Jiang, Cheng1 <cheng1.jiang at intel.com>; Hu, Jiayu <jiayu.hu at intel.com>;
> Wang, Yinan <yinan.wang at intel.com>; Ma, WenwuX
> <wenwux.ma at intel.com>
> Subject: [PATCH] examples/vhost: change the default value of NIC's max
> queues
> 
> vswitch can't launch with 40G FTV due to Device start fails if NIC’s max
> queues > the default number of 128, so, we changed the default value from
> 128 to 512.
> 
> Signed-off-by: Wenwu Ma <wenwux.ma at intel.com>
> ---
>  examples/vhost/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/examples/vhost/main.c b/examples/vhost/main.c index
> bc3d71c898..36969a4de5 100644
> --- a/examples/vhost/main.c
> +++ b/examples/vhost/main.c
> @@ -29,7 +29,7 @@
>  #include "main.h"
> 
>  #ifndef MAX_QUEUES
> -#define MAX_QUEUES 128
> +#define MAX_QUEUES 512
>  #endif
> 
>  /* the maximum number of external ports supported */
> --
> 2.25.1



More information about the dev mailing list