From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D1C29A0547; Thu, 21 Oct 2021 13:29:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2FB51411E7; Thu, 21 Oct 2021 13:29:31 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 6306F4117A for ; Thu, 21 Oct 2021 13:29:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634815768; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4BhUOrvStarUn3yJ8Bq/LiofDr19swiemgbGgabcZ+A=; b=bfDRpTvUYwp7VpjijDPHXlvlqt9UX53QXggWiaNYPbQTMMlDgl/vpUgk6prtps8uVocXDq MAs6npQgO49UK82X+KJMyRf/on2sW28BfSUVKwvr2C7ts/uVbeQhwmGPREOS1PEyv8RNXi z64rdV1i1XXBuRe2mP0BvE6IL4BNYTM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-518-RzOr1bX0Ozmq6e287q2Cqg-1; Thu, 21 Oct 2021 07:29:25 -0400 X-MC-Unique: RzOr1bX0Ozmq6e287q2Cqg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 87810806688; Thu, 21 Oct 2021 11:29:24 +0000 (UTC) Received: from [10.39.208.27] (unknown [10.39.208.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B12C160C0F; Thu, 21 Oct 2021 11:29:22 +0000 (UTC) Message-ID: <06cb42fb-8948-592e-4101-c7a28f861d9f@redhat.com> Date: Thu, 21 Oct 2021 13:29:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 To: Wenwu Ma , dev@dpdk.org Cc: chenbo.xia@intel.com, cheng1.jiang@intel.com, jiayu.hu@intel.com, yvonnex.yang@intel.com, stable@dpdk.org References: <20210910135205.269651-1-wenwux.ma@intel.com> <20211015164832.8865-1-wenwux.ma@intel.com> From: Maxime Coquelin In-Reply-To: <20211015164832.8865-1-wenwux.ma@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v3] examples/vhost: change the default value of NIC's max queues X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/15/21 18:48, Wenwu Ma wrote: > vswitch can't launch with a 40G i40e port 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. > > Fixes: 4796ad63ba1f ("examples/vhost: import userspace vhost application") > Cc: stable@dpdk.org > > Signed-off-by: Wenwu Ma > --- > 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 */ > As discussed, this is far from ideal, but let's use our time to remove gaps in Vhost testing with testpmd so that we can remove this example later. Reviewed-by: Maxime Coquelin Thanks, Maxime