From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id B79281B1B6 for ; Wed, 24 Jan 2018 16:40:51 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6EB44226C9; Wed, 24 Jan 2018 10:40:51 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:40:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=NX5DzUgtUcQW34zET 5VMEW7o60dOPWYfMh66WZX8W7o=; b=Gdw5Tty2XUGyFO1oLyGiw2l2507T7w/yv j8nvn5DPf8LfzNB3WhYxJmEdVeFGg5afBDkbmR0sz6SEmmgAb2beibAnLaMJCWwi aPM6blH/8hk31ucSEOICFc1nUfZSypUI3iUWEwFh3pggSoz7gJTLkto0CfoGlhMT 4Pn0uXRA82MYyasfqRbsLKMA+QU1TDRDNv0VrDHNaaCzhHeb12SZVjUMfcLROnZz Vf6AJD5iIoGuNocnrquXcfqhrgnKSmkuTZt1sha9aBcjwa9gw6lb0jOaYCZzIh6h gLjBK0VRq4uvUNpuhXlpBO1IWhnMme2n8+X2v2XBr977ZOaFjzV2w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=NX5DzUgtUcQW34zET5VMEW7o60dOPWYfMh66WZX8W7o=; b=o1oNkFkm VLMWWZ6LQuMSjYBZcg/FbGZt2SeCgFWcmp8FU+7GTHCPM/GwXVWVVQ+P9shJHuek 1n65sfG4rt3benPKOlYpFIthV7lzA78NIVg3NEdxJZ043wRLtEYiCNjAR7YJNL8A LHDHlYVfnKVadseZAHiWTFuChomb/ADTMeYjPKWvxSR8RMg1tiN4V13CQFJmrMV3 xQyTRpCc3dXIjPTe4JKqL37pBb987KfKDVmZG33LTB1LUkh/omgMN3UmTml4hX6o OK9aXSI8W9ObqKc/5qv0fg6g1wsYoxKeQhbI+aUkiKFC9sWgTH+VzHK9pCqk1kjs Y4Rf9cIVIPed9w== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 4E4247E354; Wed, 24 Jan 2018 10:40:48 -0500 (EST) From: Yuanhan Liu To: Zhiyong Yang Cc: Yuanhan Liu , dpdk stable Date: Wed, 24 Jan 2018 23:32:59 +0800 Message-Id: <1516808026-25523-111-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'examples/vhost: fix startup check' has been queued to LTS release 17.11.1 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, 24 Jan 2018 15:40:52 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From fb0654dcddd4af1f61b7e38600b4c1bb32d60a4e Mon Sep 17 00:00:00 2001 From: Zhiyong Yang Date: Wed, 10 Jan 2018 14:01:01 +0800 Subject: [PATCH] examples/vhost: fix startup check [ upstream commit 61e99293f6591f8ac2e0051b80fe7e1ba638ea96 ] 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") Signed-off-by: Zhiyong Yang Acked-by: Yuanhan Liu --- examples/vhost/main.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 10a7f5d..1f532fe 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -279,12 +279,6 @@ port_init(uint16_t port) /* The max pool number from dev_info will be used to validate the pool number specified in cmd line */ rte_eth_dev_info_get (port, &dev_info); - if (dev_info.max_rx_queues > MAX_QUEUES) { - rte_exit(EXIT_FAILURE, - "please define MAX_QUEUES no less than %u in %s\n", - dev_info.max_rx_queues, __FILE__); - } - rxconf = &dev_info.default_rxconf; txconf = &dev_info.default_txconf; rxconf->rx_drop_en = 1; -- 2.7.4