From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 193C07D30; Thu, 4 Jan 2018 07:33:37 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jan 2018 22:33:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,506,1508828400"; d="scan'208";a="7124431" Received: from unknown (HELO dpdk5.bj.intel.com) ([172.16.182.198]) by fmsmga007.fm.intel.com with ESMTP; 03 Jan 2018 22:33:33 -0800 From: Zhiyong Yang To: dev@dpdk.org Cc: stable@dpdk.org, Zhiyong Yang Date: Thu, 4 Jan 2018 14:33:32 +0800 Message-Id: <20180104063332.5248-1-zhiyong.yang@intel.com> X-Mailer: git-send-email 2.13.3 Subject: [dpdk-dev] [PATCH] examples/vhost: fix extend MAX_QUEUES to resolve startup failure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 06:33:38 -0000 When binding X710 NIC (i40e driver) to DPDK, vhost sample startups failure. The sample requires that MAX_QUEUES should be defined no less than 320. So, the patch redefines MAX_QUEUES 320 to fix the issue. Cc: stable@dpdk.org Signed-off-by: Zhiyong Yang --- 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 89a61f0e5..487cc530e 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -57,7 +57,7 @@ #include "main.h" #ifndef MAX_QUEUES -#define MAX_QUEUES 128 +#define MAX_QUEUES 320 #endif /* the maximum number of external ports supported */ -- 2.13.3