From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37EAAA034D for ; Fri, 25 Feb 2022 16:27:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2C1F9411ED; Fri, 25 Feb 2022 16:27:05 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id E4F754068B; Fri, 25 Feb 2022 16:27:02 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 5FA0A5C020C; Fri, 25 Feb 2022 10:27:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 25 Feb 2022 10:27:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; bh=BlG10K+09kaVjqA2GTwbch4bLXbBfrLRMAQKLWj0kZs=; b=f86DA Vd+d2IDPRwhs5rlTLMGN/UW4G6dqwg/abdtAlFtrM85euc1QmClyshDKfHTsQKBP HE5aGZ6zfFPOhgF8sHx+gsUNW47FzaoPKEEdrbtJ9LoQJ6bXK8EZEMnY9oQ6DkBZ TWuB4W01rFkEZ779T/cb/nYu11xpg4dI7A+1cfLNilNoBgjA9z1D8rk5XnBYFFGE hL6+IY08oCr4aFvKKWRRUE4zerhIRraHc4B82ZRhpqj0IEmFwZcTHMlVuQbPoEcr xQWaElyjsIzKCJ8HCakctwspf6upS3ObmtW3bXiG3jLxiutFEgqN1VUC4gC/tpPK QLtecSPFuI4I0n8Bg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=BlG10K+09kaVjqA2GTwbch4bLXbBf rLRMAQKLWj0kZs=; b=XnWvyxwZUowC5fXk2MGbmSJxtSzOs7EQ+6vh1TbTkh7nA vXCZQPQEAckZ/JkxFButL6rJ7lWEFKFL/Bg9BYv/kkx+1Kelcp9NtbeLuPRod58+ XoYbm9blhFKAUBnPbHnrvkOebRFgvE1eqqeSegGC6Gisz4sK7ieNuzi2eJVmVtcI VGPmPXC0bCLx+wf8QyHLnN7wV0NkBVtgyj76/PoTSku5EGljCtUAHhKmGlt26mX0 6ndF9L+wyG4r5oB8TMezVP5c6ZBHuxg4bhtzkWwRlFzHQMsKtQvpuZpaWaDatRIo Lrh1bV12LrBwSwDxGLX07dZqIp/OcjHpAxuDlPttQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrleeggdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghsucfo ohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtffrrg htthgvrhhnpedvledvudehvdduudevuedvveehgeduleegiefgjeehudehtddtgeduffej iefhgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Feb 2022 10:27:00 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: stable@dpdk.org, Xiaoyun Li , Aman Singh , Yuying Zhang , Ajit Khaparde Subject: [PATCH] app/testpmd: fix build without drivers Date: Fri, 25 Feb 2022 16:26:53 +0100 Message-Id: <20220225152653.72437-1-thomas@monjalon.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org When ixgbe and bnxt are disabled, compilation was failing: app/test-pmd/cmdline.c:9396:11: error: variable 'vf_rxmode' set but not used Fixes: 4cfe399f6550 ("net/bnxt: support to set VF rxmode") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon --- app/test-pmd/cmdline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index b4ba8da2b0..7ab0575e64 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -9409,6 +9409,7 @@ cmd_set_vf_rxmode_parsed(void *parsed_result, } RTE_SET_USED(is_on); + RTE_SET_USED(vf_rxmode); #ifdef RTE_NET_IXGBE if (ret == -ENOTSUP) -- 2.34.1