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 97534A0C41 for ; Tue, 30 Nov 2021 17:43:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91A31410F7; Tue, 30 Nov 2021 17:43:15 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id A52D841190 for ; Tue, 30 Nov 2021 17:43:14 +0100 (CET) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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-1.canonical.com (Postfix) with ESMTPS id 6AAD63F044 for ; Tue, 30 Nov 2021 16:43:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290594; bh=Pph2AkzVTrMIIp89Nq6hesRqOCh+r2/fosmLsSF4s24=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=vJUiESfN7GnVABMibBWIAukp4T3OIDwppMAe6A0j0sNbLyKZL7BCM+XiAa8uBLoMi +D9DZ3FmmsmXQyFAmCM56CgWAmksXdTQ4GlSt+uuRB0SWzUa9OehHrWHIxQy+Sxr/l Vt45KXcHqpbJeyfCn6SgediJ1cDlPHve8jVbjK2RTyIqSynDKgzwwlSMRLxG9msGPN ngEIRbWgwKsnjH4uBOsSmRXDimzX72tLgUbK6uKPEuOOcpIA50xXl7axQqUoMNTCNY xeOaKPGt3BlE53tNkTuuAmk4w82H8H7DC+pD8nkS2b0FpQE56g7LE72rosD62HaqyY yfoAzoXxTzVQQ== Received: by mail-ed1-f70.google.com with SMTP id v10-20020aa7d9ca000000b003e7bed57968so17416405eds.23 for ; Tue, 30 Nov 2021 08:43:14 -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=Pph2AkzVTrMIIp89Nq6hesRqOCh+r2/fosmLsSF4s24=; b=tzB9Xb5qikKC2Q0/R++/mNXayPHT2HvZkYqfcxt9HccfqYABgY+P1CA/mC5oLM9Su7 6E+jk0keLBxEG8FhfdCWNGnRnuXk1TTAEz5+j3lguZzhQ94Eg3doVECPuUAS/a6yJ5sO 2kkuh/4pgmOx2CcCluQKgCmgTuIBp8yffVeOXrh5U8qL6beRkvUXfHbAftYkIi8ecWsR 522JhufWflMSrRD4eGr0vYjbfaONpWRfyvzFKmxl7oViVSVgTeHtE0N1mvaHfyoSZSOd ChITBL2+ev9F3HL/T9O2tlkfrOnWp6QxjIxVbyz8tWqjgJ9Joer0AJRrBiFOM1aDhl++ mTNw== X-Gm-Message-State: AOAM532iCtJkUPoC0UjG6xza9zhq7nRmoXV2TuoumaQ1Lg9iFQRtaOdm 0EOkc9u6dLs8hLbISZFelg0mNlax3E6ncuNO6P/r2NDH2GBurSXSjW/gb1E5IomuUFx1jW0XqDy vNAIZy7uw0NLFyh2FfrYrbIpO X-Received: by 2002:a17:907:c15:: with SMTP id ga21mr190234ejc.349.1638290593701; Tue, 30 Nov 2021 08:43:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJwR+MmrUTRini4iytmgQH/fMkmArjwsr4C/gk6TT0q27/Dehd+kNzb3j+n3p7pZ97gBOhYhQw== X-Received: by 2002:a17:907:c15:: with SMTP id ga21mr190210ejc.349.1638290593553; Tue, 30 Nov 2021 08:43:13 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id dy4sm11454065edb.92.2021.11.30.08.43.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:43:13 -0800 (PST) From: christian.ehrhardt@canonical.com To: Conor Walsh Cc: Liang Longfeng , David Marchand , dpdk stable Subject: patch 'net/vmxnet3: fix build with clang 13' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:35:42 +0100 Message-Id: <20211130163605.2460997-138-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> References: <20211130163605.2460997-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.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before December 10th 2021. 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/36e063bd82840c41814d6496740f14586bd2d4aa Thanks. Christian Ehrhardt --- >From 36e063bd82840c41814d6496740f14586bd2d4aa Mon Sep 17 00:00:00 2001 From: Conor Walsh Date: Mon, 15 Nov 2021 17:58:54 +0000 Subject: [PATCH] net/vmxnet3: fix build with clang 13 [ upstream commit e76eb560bcf31988384a0cecc6a617475cec1d06 ] The completed variable is used for debug logs even though clang 13 reports it as unused. Bugzilla ID: 881 Fixes: c3ecdbb376da ("vmxnet3: support TSO") Reported-by: Liang Longfeng Signed-off-by: Conor Walsh Reviewed-by: David Marchand --- drivers/net/vmxnet3/vmxnet3_rxtx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_rxtx.c b/drivers/net/vmxnet3/vmxnet3_rxtx.c index 73e270f30f..76b8e54772 100644 --- a/drivers/net/vmxnet3/vmxnet3_rxtx.c +++ b/drivers/net/vmxnet3/vmxnet3_rxtx.c @@ -341,6 +341,9 @@ vmxnet3_tq_tx_complete(vmxnet3_tx_queue_t *txq) } PMD_TX_LOG(DEBUG, "Processed %d tx comps & command descs.", completed); + + /* To avoid compiler warnings when not in DEBUG mode. */ + RTE_SET_USED(completed); } uint16_t -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:13.905215958 +0100 +++ 0138-net-vmxnet3-fix-build-with-clang-13.patch 2021-11-30 16:50:05.978874910 +0100 @@ -1 +1 @@ -From e76eb560bcf31988384a0cecc6a617475cec1d06 Mon Sep 17 00:00:00 2001 +From 36e063bd82840c41814d6496740f14586bd2d4aa Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e76eb560bcf31988384a0cecc6a617475cec1d06 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index deba64be6a..d745064bc4 100644 +index 73e270f30f..76b8e54772 100644 @@ -24 +25 @@ -@@ -340,6 +340,9 @@ vmxnet3_tq_tx_complete(vmxnet3_tx_queue_t *txq) +@@ -341,6 +341,9 @@ vmxnet3_tq_tx_complete(vmxnet3_tx_queue_t *txq)