From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v2] examples/vhost: fix remove dev_info.max_rx_queues checking to solve startup failure Date: Wed, 10 Jan 2018 20:36:06 +0800 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 Cc: dev@dpdk.org, stable@dpdk.org To: Zhiyong Yang Return-path: Content-Disposition: inline In-Reply-To: <20180110060101.26038-1-zhiyong.yang@intel.com> 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 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