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 6E47FA0093 for ; Wed, 9 Mar 2022 12:02:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 68FEB40150; Wed, 9 Mar 2022 12:02:47 +0100 (CET) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id 9F63F40150 for ; Wed, 9 Mar 2022 12:02:46 +0100 (CET) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 4B5403F613 for ; Wed, 9 Mar 2022 11:02:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646823765; bh=fThu9je+VoTdmx4SVH1QYJFx7Wxx2qC/sU7Fs/kTeFM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qRgsTBSp2ch3wvR+u2oaiBXDilrGvLK+5enWAK+qXWKRxhyxy1XmJxmSA/iWi+jI3 Sk4Tg00HY/FY6xG57Mtr8Js4Uxa2+aty0uuAl+rnZPZnw8OpDyHecIZDRSPLErRzDC 4/LMUQIGBTVQ6dBNt2HAFr3Ke/BIRqlSOWfV7vzhkYJ1ZrjhkALnYpLrp53TnQ8UYv IQyTuwTKsFGa8CKIFRABBtKlj2k0t/Q/twQvicZ3d7oRB3r5pP4GFygWHOXixS06KL XWB65REkLxhvrafAwM+eHXMDvAjM3AfXGe5IGd1y2fmeqS3YZoeAsFkraJK5X/nUjP 80hg052Z7PJMg== Received: by mail-wm1-f72.google.com with SMTP id f189-20020a1c38c6000000b0037d1bee4847so2434692wma.9 for ; Wed, 09 Mar 2022 03:02:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fThu9je+VoTdmx4SVH1QYJFx7Wxx2qC/sU7Fs/kTeFM=; b=217KlNBNpSy6eb/Z7pUsCij5H7+8LWujp792Hr9SSJTeKPd0HJHtvE2lSLadr5GYcW ln5sKoscTR+YyzBWv8YAUN2FNg0bzxqCjuyY29MbtwQUg3bHiINQ+fYFcXsHWe8n3f24 opkvQK1kzB+um3xlNy2bEHptNOM1+E6Re3aDLGVdSFU+Dkb1I4RmCJrpdwSarevzoGNs t+gr4mjxfn2638HgRbMBl/eGKRas1VXaw5YUCfVaE6E/a3M6WEXNsmaDTWk+i/IUd3xV T9BnSVjIK0BWbP1Z0PNYSgxalCa5JOMVYo/b/PRgXo1loA3ZnZIRW+K1sDKnVPArJeBD OXlg== X-Gm-Message-State: AOAM533I3o2wSY3e3ZGTC3p6rY5VieF46Y9nDrAgEsPxe1qWIJuIoIGI SHncrIuDPUYrW8+fbgh3gdYqweUWVDnR+TkW1OiWmRUOip8BeEFa73i0cPzeBnZ8K2u3Yqt4rrB HApvYjjMnT+pS3yT//APxc/qF X-Received: by 2002:a05:600c:602a:b0:389:9e05:6f01 with SMTP id az42-20020a05600c602a00b003899e056f01mr2849801wmb.1.1646823763146; Wed, 09 Mar 2022 03:02:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwam8fQq76i7t3v5/SFA4d5G1z4XHFdwSBp7WUsL+Y4y6e8lkPaznRjW0pB9wMMUuToh6HWUQ== X-Received: by 2002:a05:600c:602a:b0:389:9e05:6f01 with SMTP id az42-20020a05600c602a00b003899e056f01mr2849789wmb.1.1646823762888; Wed, 09 Mar 2022 03:02:42 -0800 (PST) Received: from localhost.localdomain (068-133-067-156.ip-addr.inexio.net. [156.67.133.68]) by smtp.gmail.com with ESMTPSA id a8-20020a05600c068800b00389bdc8c8c2sm1361092wmn.12.2022.03.09.03.02.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 03:02:41 -0800 (PST) From: christian.ehrhardt@canonical.com To: Thomas Monjalon Cc: Bruce Richardson , Ajit Khaparde , dpdk stable Subject: patch 'app/testpmd: fix build without drivers' has been queued to stable release 19.11.12 Date: Wed, 9 Mar 2022 12:00:56 +0100 Message-Id: <20220309110116.1295395-25-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220309110116.1295395-1-christian.ehrhardt@canonical.com> References: <20220309110116.1295395-1-christian.ehrhardt@canonical.com> 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 Hi, FYI, your patch has been queued to stable release 19.11.12 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/11/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/ab746fecf941f463b97d45e84ba7e8b50cf12376 Thanks. Christian Ehrhardt --- >From ab746fecf941f463b97d45e84ba7e8b50cf12376 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Fri, 25 Feb 2022 16:26:53 +0100 Subject: [PATCH] app/testpmd: fix build without drivers [ upstream commit 1a2eaefa47ba1e0e199cfe8a4653a5023425bce5 ] 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") Signed-off-by: Thomas Monjalon Acked-by: Bruce Richardson Acked-by: Ajit Khaparde --- 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 a3b991ea1b..e5e922dda1 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -8592,6 +8592,7 @@ cmd_set_vf_rxmode_parsed(void *parsed_result, } RTE_SET_USED(is_on); + RTE_SET_USED(vf_rxmode); #ifdef RTE_LIBRTE_IXGBE_PMD if (ret == -ENOTSUP) -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-03-09 11:57:44.685159807 +0100 +++ 0025-app-testpmd-fix-build-without-drivers.patch 2022-03-09 11:57:43.392938381 +0100 @@ -1 +1 @@ -From 1a2eaefa47ba1e0e199cfe8a4653a5023425bce5 Mon Sep 17 00:00:00 2001 +From ab746fecf941f463b97d45e84ba7e8b50cf12376 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 1a2eaefa47ba1e0e199cfe8a4653a5023425bce5 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index b4ba8da2b0..7ab0575e64 100644 +index a3b991ea1b..e5e922dda1 100644 @@ -25 +26 @@ -@@ -9409,6 +9409,7 @@ cmd_set_vf_rxmode_parsed(void *parsed_result, +@@ -8592,6 +8592,7 @@ cmd_set_vf_rxmode_parsed(void *parsed_result, @@ -31 +32 @@ - #ifdef RTE_NET_IXGBE + #ifdef RTE_LIBRTE_IXGBE_PMD