From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id E3EDB1B1C5; Wed, 10 Jan 2018 13:36:11 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 09D3420AE6; Wed, 10 Jan 2018 07:36:11 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 10 Jan 2018 07:36:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=fEore1pLPAzfb2q1BwHvtWrhEvapZPKBdebHhd9h+qo=; b=SbIjwh00 vP0mmj0nph31Y3a9gekcYL3/8XlFc+M3q+SJWvGyy2Cy6/7F2WmQMGs/aZzsdUOo BrkJfRXXbzZouDskpNV2qlBUJAlgF87IYuhz25N0aJ4ueAAuaD6ISwzEcyQjcwXE gSZz9S0v6BRXaePmnNA46sGQ0aiMVSbRk/pE3FEIsmkA8FW4Uo+AS8TemQPisa5m wAoAJBucCkp6jznMsDVTZNZb1p5QjMGADTiJ26u4xmXs7xl7WSJAyzeAG/RiXb/j zdOGGH+7j8GdRsmcmR2KW66F7ktJhEbSzsGtK+lmVCxiKU7TzUPSXvMt9MQPn1ai os4l7hjkYz8PDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=fEore1pLPAzfb2q1BwHvtWrhEvapZ PKBdebHhd9h+qo=; b=dR4D9v+93dWrHCXJvc02fqVhJzmYXvUbdPejC+J8TpHCV uyxISdiklH9JHs4SdA10yS5tOm5hNDhFb8V09rpNj7MtjC+dg64/s5ruzXCtsxsU toYpo9O14H/RazIAVJDCgJ4lK5TSEqj78PRSuVTlHhu8pEpermTO2utsTr2wnIKW Xdu1goMNxnQnawwlXUy25YMYVdjqpFgK+TLMSdoPpzCLh7qT2WeNex5Tc5FeBcBj kMSOheZkUfFN+3vBv6asiQckHBeAdCHY68tW9RqzY/f64ox6s0fYbqfHFKhyQp37 ucu/PKdP9zHFRbqQBIPVpIclxxixGbPOp2A3LJSoQ== X-ME-Sender: Received: from yliu-mob (unknown [115.148.91.233]) by mail.messagingengine.com (Postfix) with ESMTPA id 14AA27E34D; Wed, 10 Jan 2018 07:36:09 -0500 (EST) Date: Wed, 10 Jan 2018 20:36:06 +0800 From: Yuanhan Liu To: Zhiyong Yang Cc: dev@dpdk.org, stable@dpdk.org Message-ID: <20180110123606.GP29540@yliu-mob> References: <20180104063332.5248-1-zhiyong.yang@intel.com> <20180110060101.26038-1-zhiyong.yang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180110060101.26038-1-zhiyong.yang@intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [dpdk-stable] [PATCH v2] examples/vhost: fix remove dev_info.max_rx_queues checking to solve startup failure X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2018 12:36:12 -0000 On Wed, Jan 10, 2018 at 02:01:01PM +0800, Zhiyong Yang wrote: > For vhost sample, the operation if (dev_info.max_rx_queues > > MAX_QUEUES) in the function port_init causes startup failure > when using X710(i40e driver). X710 requires that MAX_QUEUES > should be defined no less than 320, however it is defined as > 128 currently. > > Such checking is overkill and Removal don't affect any > functionality (have already validated ixgbe and i40e). > > The removal can avoid similar issue when introduing new physical > NIC. > > Fixes: 8bd6c395a568("examples/vhost: increase maximum queue number") > Cc: stable@dpdk.org > > Signed-off-by: Zhiyong Yang Applied to dpdk-next-virtio. Thanks. --yliu