From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 9BA95A84E for ; Fri, 26 Jan 2018 14:16:44 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id v71so21178827wmv.2 for ; Fri, 26 Jan 2018 05:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xvySHsIe/ObYcTfgL5LFhmzeToxozSmxiSbe8SZc65k=; b=W8NWjeAymqUzUohlm24yCZb6BxisYJJM/47kpv8QkL9NiO4/DLE9pDuZge1ScRrP7h VRlDnrBiNrgLE3UaFTmy/SYfpHYHrM5lKttGUwlhK2T8bPJqdF8Dh3LnHho67jg3cF1B ZBoA+2OWKsxNKTehVJf1f6FU+dtjaNyUUoyoVG2Ms3KrTWVU5Hf91Tc7wzRRjoahczxj 0bcPoiVk+8quzSBgFVTGslalOhrm0rxvkssIjFIBotGZc5iGKj9WUL9dxH0F8ompLJCo /KoOwSytJaQBWh2uFOnms/iv0Nso/9sNuvf+8V7Jypo0v0Whk7AOJ3DUpH3U0+TjeHB9 c6Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xvySHsIe/ObYcTfgL5LFhmzeToxozSmxiSbe8SZc65k=; b=WmlfFEXzTpQwEtobgRmmuzYxqtPuQPC0EtgX5058tRgxxPlznOtva2cYuk8n9ekSDs wMbMhqsC9qRZE3vXp9QG5GCCwbgCd4QFAH7rfwrrkzpt2jFeOaGzsBS3AISTT/2ykP+Y A0Vt1k9/GbmyVd5Zg4QkvpWL2Q9VBSn2TNKAhNPAD/U3z+JXxQuOrFBL25kj8jioDez4 D0bcZ5sFtzeLyllgZwTDMBEwPXrlfd9lO6hjpjrJRqLumnezKzeuSmnEHhfPfd5r3IBK 3xxbZCQZnq6J9AanBwRUsKLzv3Ntamc/RFp2LfBJNQIIQ6I29OjUttyaNvi8kPiVPpJd 980A== X-Gm-Message-State: AKwxytdC5SNryzp2oMNacLOS8cjEuJAQpFEnFcRvQ5HD+lSlZ0bpsDSX 4hHppe8sLoHC1pyr8TgFcR4= X-Google-Smtp-Source: AH8x224vFtFrA2lML0jTzEb9V+mXwtud/I1EdsGhdDe0IOT9NzQyjQuh2pdN/52961i64Iu2l9TcCw== X-Received: by 10.28.40.196 with SMTP id o187mr8604527wmo.99.1516972604349; Fri, 26 Jan 2018 05:16:44 -0800 (PST) Received: from localhost ([2a00:23c5:bef3:400:9531:588b:44ae:bec4]) by smtp.gmail.com with ESMTPSA id t14sm4127649wmc.23.2018.01.26.05.16.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jan 2018 05:16:43 -0800 (PST) From: luca.boccassi@gmail.com To: Zhiyong Yang Cc: Yuanhan Liu , dpdk stable Date: Fri, 26 Jan 2018 13:13:20 +0000 Message-Id: <20180126131332.15346-50-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180126131332.15346-1-luca.boccassi@gmail.com> References: <20180126131332.15346-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'examples/vhost: fix startup check' has been queued to LTS release 16.11.5 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: Fri, 26 Jan 2018 13:16:44 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.5 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/28/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From f63616335ca4cb11f000f35f2365ba2ecf2eb99d 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 86f806523..fe2327473 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -277,12 +277,6 @@ port_init(uint8_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.14.2