From patchwork Fri Oct 15 16:48:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Ma, WenwuX" X-Patchwork-Id: 101737 X-Patchwork-Delegate: maxime.coquelin@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8288DA0C4B; Fri, 15 Oct 2021 10:49:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 68BD540692; Fri, 15 Oct 2021 10:49:34 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 6FC4D40041; Fri, 15 Oct 2021 10:49:32 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10137"; a="314075442" X-IronPort-AV: E=Sophos;i="5.85,375,1624345200"; d="scan'208";a="314075442" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2021 01:49:31 -0700 X-IronPort-AV: E=Sophos;i="5.85,375,1624345200"; d="scan'208";a="627247566" Received: from unknown (HELO localhost.localdomain) ([10.240.183.109]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2021 01:49:29 -0700 From: Wenwu Ma To: dev@dpdk.org Cc: maxime.coquelin@redhat.com, chenbo.xia@intel.com, cheng1.jiang@intel.com, jiayu.hu@intel.com, yvonnex.yang@intel.com, Wenwu Ma , stable@dpdk.org Date: Fri, 15 Oct 2021 16:48:32 +0000 Message-Id: <20211015164832.8865-1-wenwux.ma@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210910135205.269651-1-wenwux.ma@intel.com> References: <20210910135205.269651-1-wenwux.ma@intel.com> MIME-Version: 1.0 Subject: [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" 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 Reviewed-by: Maxime Coquelin --- 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 */