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 786CBA0C41 for ; Tue, 30 Nov 2021 17:43:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7292841170; Tue, 30 Nov 2021 17:43:14 +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 5A55C41170 for ; Tue, 30 Nov 2021 17:43:13 +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 35C2D3FFE1 for ; Tue, 30 Nov 2021 16:43:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290593; bh=JzXMtqIscCotz7iCgrgzi9ZuN41Yt9PENknmIkB/1XQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=B727LR+hXOdyJ/2cqPmYP3aGlqnD1nRFsVhNqIzWT7kRt5CJ+cFhpd40pXHbESmoN L4yxqfDjQ8KaN/sTOw3mlS0QV5/HdIrWUrLHsNlHakXnhCAkz4RuJi4Kx9scQ7Ivv3 ktHi6oNmO+9uYJjZdHuU1HxllN5dGYJQ2eA1AM/T6Cem9r7Ku+/TOKKoz7GTRvCy/A ur9+19JsjyFVLy+8Cal3Jso2gafcOpA5q2KO0+STLmCq1QEgVfJqqgLI741GreOltA Mi1BRnHpebJgM+RCc7gmXhVpWajLLe7LZReQfrfGEBT3K3/WNy8xPU5PN0qtUo54fZ vnGMUQTByX3ng== Received: by mail-ed1-f70.google.com with SMTP id eg20-20020a056402289400b003eb56fcf6easo17392212edb.20 for ; Tue, 30 Nov 2021 08:43:13 -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=JzXMtqIscCotz7iCgrgzi9ZuN41Yt9PENknmIkB/1XQ=; b=OgdNykLiCGlhPsZHd4Pi14yYZpACbaaR/n9+bKDd5b1gt5XHCh+5MtH9jv4H3bYF8O 7TY/1T7uQ1kMhZJUZdDlhZtNqkuvecvLGJ2yWYNA1c4k4l4iBAG+X+zokS/6LsF8m3JY VcdCEaEqxxBWurmOTc8Lkg1yscF47f9DOUjfcvVUXBfk3N4OrNoFfwE82tcBXJMSJhyU wOx6xiIXKmMCMWsyMy6vUQOTHgZGwjeu5RBF7QeZxWhBilWwZKIb2DNZfiEncrK/+uP+ dozejjmCjmhYDIwvWOFglI4DV5YtJWGQi513H6riLF9Zjo9EwNQ5rdcL3mm73NJMkNw9 vnvw== X-Gm-Message-State: AOAM532ErgeHp6CACA6G7jlW3DDyYJ8FYtWu5jtz5GSWjqNSn99jzNwD h0zUbk0fwzSribkNlAeXn+p0M1kNc3M6vnZG8Wtn515OZ3P3QgVltHT5p0IGjNqozWkPsRAS26z rBktaXq8nuusXhYvVjKnxOhtk X-Received: by 2002:aa7:dd56:: with SMTP id o22mr91046edw.73.1638290592904; Tue, 30 Nov 2021 08:43:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvXC6p0eLCUlsovZlyEr0Wj/VaicmSoRZa0JP38ie3CTBPqmmkDC/Nxoy2h/L9qNBgqsdtJg== X-Received: by 2002:aa7:dd56:: with SMTP id o22mr91011edw.73.1638290592691; Tue, 30 Nov 2021 08:43:12 -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:12 -0800 (PST) From: christian.ehrhardt@canonical.com To: Conor Walsh Cc: Liang Longfeng , David Marchand , dpdk stable Subject: patch 'net/qede/base: remove unused message size' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:35:41 +0100 Message-Id: <20211130163605.2460997-137-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/fd9fd79a697dcce097d5330b2b9725cf72c5ee28 Thanks. Christian Ehrhardt --- >From fd9fd79a697dcce097d5330b2b9725cf72c5ee28 Mon Sep 17 00:00:00 2001 From: Conor Walsh Date: Mon, 15 Nov 2021 17:58:54 +0000 Subject: [PATCH] net/qede/base: remove unused message size [ upstream commit 2ccebadab2f1e7fa867c708cc1487986ac3be122 ] Reported by clang 13. Bugzilla ID: 881 Fixes: 86a2265e59d7 ("qede: add SRIOV support") Reported-by: Liang Longfeng Signed-off-by: Conor Walsh Reviewed-by: David Marchand --- drivers/net/qede/base/ecore_vf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/qede/base/ecore_vf.c b/drivers/net/qede/base/ecore_vf.c index 0e5b7d5eb3..6d4a1d9708 100644 --- a/drivers/net/qede/base/ecore_vf.c +++ b/drivers/net/qede/base/ecore_vf.c @@ -73,7 +73,7 @@ static void ecore_vf_pf_req_end(struct ecore_hwfn *p_hwfn, #endif static enum _ecore_status_t ecore_send_msg2pf(struct ecore_hwfn *p_hwfn, - u8 *done, u32 resp_size) + u8 *done, __rte_unused u32 resp_size) { union vfpf_tlvs *p_req = p_hwfn->vf_iov_info->vf2pf_request; struct ustorm_trigger_vf_zone trigger; @@ -86,9 +86,6 @@ ecore_send_msg2pf(struct ecore_hwfn *p_hwfn, /* output tlvs list */ ecore_dp_tlv_list(p_hwfn, p_req); - /* need to add the END TLV to the message size */ - resp_size += sizeof(struct channel_list_end_tlv); - /* Send TLVs over HW channel */ OSAL_MEMSET(&trigger, 0, sizeof(struct ustorm_trigger_vf_zone)); trigger.vf_pf_msg_valid = 1; -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:13.841409793 +0100 +++ 0137-net-qede-base-remove-unused-message-size.patch 2021-11-30 16:50:05.978874910 +0100 @@ -1 +1 @@ -From 2ccebadab2f1e7fa867c708cc1487986ac3be122 Mon Sep 17 00:00:00 2001 +From fd9fd79a697dcce097d5330b2b9725cf72c5ee28 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 2ccebadab2f1e7fa867c708cc1487986ac3be122 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index db03bc494f..a36ae47c2b 100644 +index 0e5b7d5eb3..6d4a1d9708 100644