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 529AEA0350 for ; Mon, 28 Feb 2022 22:23:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A1F54067B; Mon, 28 Feb 2022 22:23:16 +0100 (CET) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by mails.dpdk.org (Postfix) with ESMTP id F079040140 for ; Mon, 28 Feb 2022 22:23:14 +0100 (CET) Received: by mail-ej1-f46.google.com with SMTP id r13so27492617ejd.5 for ; Mon, 28 Feb 2022 13:23:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p9gfjYaUOwvquok5M5v9C2y4i1wxU6Zi92hyXax6gVc=; b=UCvBG967Yepu5RpRMiSjwhesdxPokbx+yKIBf149pTvNw2CCr14f/l3DJ0XKs2llik EF3sTpukdUaA7fk7YRZ2EG0Qh1NfGWzu91ZEZ+awO0vNTHszHYh6ovaEg/2+FBNuhSzO 17Gu/1FhEt9O/qOwK4ApKCWgE3uYbg6Ntg+KgT/G7t0bmcZUEK3GzLqbaHW3nCmV2uqe CMu17+U5A/LLyg+TE8W4rjWtAdqcjcRL5hsh6ONsxzEJtF0B4/4VxVhmh4x9Gte4lv51 do4DIkivJKXP8AGD3QqFub18eYKWAE+ESh4LIaUJUsxP538nMWleTGeD6BbUQQGTznhM gn7Q== 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=p9gfjYaUOwvquok5M5v9C2y4i1wxU6Zi92hyXax6gVc=; b=iQlaqYPZ9pTKZZaf730GDlxfz1OMIHSyK93faaC0AiqrVcu18tTXMLlIDHgJRnNBlB K4MXem5tqchTGfwRsisO321YccBDfNQAKyaoZGqUd1CdyzSblRovYj5OExwXTK8BNY0t GAvyjiDDdiWB28mOmVoA5ff4AhEsmMFPxFzOcceH3FFn2wHov3JX5KOXiQs7y/1CML0D FEXxt2YOatZT2NDhqv0zPA6p1w9pHP6hbh8EI+xx9KpaVd6J2rKYilWi/naVRTATD21R 0AChoFNDeUz9W9yvpKe6nPirsaYP1S6y7oEvBonp44m90cot246onQgTiOXX0DaHs2SR n3rg== X-Gm-Message-State: AOAM533y0UFeTr1OevkYY53/M9iRhRN96FJb4ylRRliFbggqdZySAKv7 RhwGZiLR7x4jF5CgvF3qmGk= X-Google-Smtp-Source: ABdhPJwaeJg4/uTE4Ft+2HjtSLpMkJbMmFUKT/DMRnLc2UERkMV5z83nY9l+WBe1P/yYfLND+1qJ+g== X-Received: by 2002:a17:907:12d5:b0:6cf:bb0d:9b2f with SMTP id vp21-20020a17090712d500b006cfbb0d9b2fmr17037270ejb.138.1646083394698; Mon, 28 Feb 2022 13:23:14 -0800 (PST) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id k23-20020a1709062a5700b006ccd8fdc300sm4649306eje.180.2022.02.28.13.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 13:23:14 -0800 (PST) From: luca.boccassi@gmail.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 20.11.5 Date: Mon, 28 Feb 2022 21:20:42 +0000 Message-Id: <20220228212047.3341966-46-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220228212047.3341966-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-122-luca.boccassi@gmail.com> <20220228212047.3341966-1-luca.boccassi@gmail.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 20.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 03/02/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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/3fc564b2d0c09aa00adb17de6cbed7fda59cbbed Thanks. Luca Boccassi --- >From 3fc564b2d0c09aa00adb17de6cbed7fda59cbbed 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 df6a575002..9dfd0dcfab 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -8739,6 +8739,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.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-02-28 21:17:57.625293891 +0000 +++ 0046-app-testpmd-fix-build-without-drivers.patch 2022-02-28 21:17:54.056933965 +0000 @@ -1 +1 @@ -From 1a2eaefa47ba1e0e199cfe8a4653a5023425bce5 Mon Sep 17 00:00:00 2001 +From 3fc564b2d0c09aa00adb17de6cbed7fda59cbbed 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 df6a575002..9dfd0dcfab 100644 @@ -25 +26 @@ -@@ -9409,6 +9409,7 @@ cmd_set_vf_rxmode_parsed(void *parsed_result, +@@ -8739,6 +8739,7 @@ cmd_set_vf_rxmode_parsed(void *parsed_result,