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 5F7154624E for ; Mon, 17 Feb 2025 18:05:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5ADC1400D6; Mon, 17 Feb 2025 18:05:21 +0100 (CET) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mails.dpdk.org (Postfix) with ESMTP id 259B1400EF for ; Mon, 17 Feb 2025 18:05:20 +0100 (CET) Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-43690d4605dso28657165e9.0 for ; Mon, 17 Feb 2025 09:05:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739811920; x=1740416720; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cUNFC7oELxPwODwKO+CrS2GfTF30X/X5WGfLxp0KoIw=; b=RM6L5Y6b37fH04rRa5VMYWj2NEp1TZrGc27mBsZgtYgn1zhU1Aa52s9RnuPOFu1OO2 V8nHWYfqHR14H1Lfrkotzocrg/Dv3JyfWGB8o/Kw1LHVbuErZV7rto46rN6Vb0EnaMVR c4nPC8QLCjnM+l7xVD4nJDWv3W8tDFh1TNHCyau8jDkylcruCxQhcGbTVMriOgNQDt4L AOle6hctQ6aRhNKg/2dVkYwANsyqQ3B2+lqWOUOD5CfpQ9/HQYv5M9dr4J7nhSGLA8WZ 3qTQcej4/gj6qrlANsrFcOmEs+RBR5d/3glz5OnTrx9i7L7ymwY8H0gjkxVxqrcIP1sB iZDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739811920; x=1740416720; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cUNFC7oELxPwODwKO+CrS2GfTF30X/X5WGfLxp0KoIw=; b=JrAU4RrzXIq+x7lMNvSTMzcxMImbNZLQuLYfSJj9wfOS4x2loJDneMX6J6tK5BFk/t +i1tSRWT71tJmH9a01yU1Heb8eLRju+ZFw44GjY8FyFgk4j6FiB3FsFAVexAaYbaIC0C X3Cmpo7QjMnSCLo5fos26PrjXr4BqRuqegJ7YLE5dc/obJ5umcDKoPQqlxNw6lmm4Zqj g/qoAAFehiA/8/GtmaZOjIxAdCj/dihap0J1SEQ3S0bk8jwi4OtVYR9Gl7Mipjnc01z4 D56Ul8GLiED/iE9bo2Ohot4h+vOJX2zEYxdgKrFLsvBZoDJuhd/uOOd1cw2OW4Z2p0Lh QQpw== X-Gm-Message-State: AOJu0YyyGgzBZTGGcrJpsd6ONvWPoIndm6d+ajZFmIrTbxO8hdkEmiiq ESc+FXH/ObuBQVAlHyA8s3Mb3xcY9iwgavEExfS9VbcA70o5cKXNpQeesdhEd1c= X-Gm-Gg: ASbGncv0KurWTgF8wUM3Zp6nWs4m+QxGcVeFG017IvMBdT1HIPqOSyJ7wf+ymK7FjzJ mQm7pD1KxAYyK4CUzS4oKYeQUD4I+twHpsGoopmgxEQTKsOLmrjrGwS52K9APpsjckO6HfEQkqd uJ++EMTCvt2ewbbyy7gwX+KZaq3numR4Zf2HGPg0GmDNvuHZi1aGt/RP526HhbBAVXTvW5ANVXd 6nsnCV3kV0Rb5KnhxPjTIhncQuMfB6Ydsk5mmZGkY/RvPV2BpSd7i+k2VZ6iEuJumnbpVLS7TCu qPk5QtrTLcU9VFn3CP/CsQ== X-Google-Smtp-Source: AGHT+IHx5m+WwYmtPMcgSxVs4vvkAifYb+4tbAAxizeV5Bs1nyL44DZoYcId5SEWzce9VQwRSIpHMA== X-Received: by 2002:a05:600c:3b8c:b0:439:5560:c9a3 with SMTP id 5b1f17b1804b1-4396e6d4be0mr98100415e9.6.1739811919312; Mon, 17 Feb 2025 09:05:19 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:f83c:95e7:29fd:a997]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-38f258f5fabsm12596319f8f.45.2025.02.17.09.05.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2025 09:05:18 -0800 (PST) From: luca.boccassi@gmail.com To: Jie Hai Cc: dpdk stable Subject: patch 'net/hns3: remove PVID info dump for VF' has been queued to stable release 22.11.8 Date: Mon, 17 Feb 2025 17:03:42 +0000 Message-ID: <20250217170456.1068278-9-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250217170456.1068278-1-luca.boccassi@gmail.com> References: <20250217170456.1068278-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 22.11.8 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/19/25. 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/4e3b40bb8a743cb142582d3c58ff6469c33f46d1 Thanks. Luca Boccassi --- >From 4e3b40bb8a743cb142582d3c58ff6469c33f46d1 Mon Sep 17 00:00:00 2001 From: Jie Hai Date: Mon, 30 Dec 2024 14:54:04 +0800 Subject: [PATCH] net/hns3: remove PVID info dump for VF [ upstream commit 3c805c1ebe02248bb0c2ba944046c2e3354b0c11 ] Since the PVID status obtained from kernel varies on different platform, and the PVID of VF can be accessed by 'ip link show' command, so remove it in case of misunderstanding. Fixes: 871e5a4f881b ("net/hns3: dump VLAN configuration info") Signed-off-by: Jie Hai --- drivers/net/hns3/hns3_dump.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/hns3/hns3_dump.c b/drivers/net/hns3/hns3_dump.c index bac4427227..22ac3de146 100644 --- a/drivers/net/hns3/hns3_dump.c +++ b/drivers/net/hns3/hns3_dump.c @@ -628,6 +628,10 @@ hns3_get_vlan_tx_offload_cfg(FILE *file, struct hns3_hw *hw) static void hns3_get_port_pvid_info(FILE *file, struct hns3_hw *hw) { + struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); + if (hns->is_vf) + return; + fprintf(file, " - pvid status: %s\n", hw->port_base_vlan_cfg.state ? "On" : "Off"); } -- 2.47.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-02-17 16:13:17.217920359 +0000 +++ 0009-net-hns3-remove-PVID-info-dump-for-VF.patch 2025-02-17 16:13:16.790441593 +0000 @@ -1 +1 @@ -From 3c805c1ebe02248bb0c2ba944046c2e3354b0c11 Mon Sep 17 00:00:00 2001 +From 4e3b40bb8a743cb142582d3c58ff6469c33f46d1 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 3c805c1ebe02248bb0c2ba944046c2e3354b0c11 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 738dcb0c42..f21d32e6a2 100644 +index bac4427227..22ac3de146 100644 @@ -22 +23 @@ -@@ -693,6 +693,10 @@ hns3_get_vlan_tx_offload_cfg(FILE *file, struct hns3_hw *hw) +@@ -628,6 +628,10 @@ hns3_get_vlan_tx_offload_cfg(FILE *file, struct hns3_hw *hw)