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 2794F45BB6 for ; Wed, 23 Oct 2024 23:20:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2292140261; Wed, 23 Oct 2024 23:20:23 +0200 (CEST) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mails.dpdk.org (Postfix) with ESMTP id 0540340261 for ; Wed, 23 Oct 2024 23:20:22 +0200 (CEST) Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-37d533b5412so103745f8f.2 for ; Wed, 23 Oct 2024 14:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729718421; x=1730323221; 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=xFKW6v+dnGu9T5/zF39UckkfuTiaCusWlCRBKCH+joI=; b=AHctyNmlqF58ldlM/omEaWvAa/SdUeA/SPL0rXT0HGVDs+bcBUii5sXfuDEv/k4+kU B59oXus5AZoDc1urc9/MeAn63C3Z8dNfvk0ytFntF5dKhXS5EHZfaoZ8G5CfrpbNchKU d9AMYm4Xjc1DMu/K20ocipZcIMsRGAwwMkdWqQI8fvb0du9BBUw1I49EFuv9pqc+a8yx rr3ybBxERm4nRZRIkFR8xobxfKZiQ2o/48XXebiP1RKssbfAIor4ba6I79gJ8gL+6p2f J8B1og3qKN/jV+SNfcVk4qPImz0CeewlKWBLk9fZwBEnqAihso3hKY1lH7vOjR63uQWh NxXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729718421; x=1730323221; 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=xFKW6v+dnGu9T5/zF39UckkfuTiaCusWlCRBKCH+joI=; b=AsZnZ8N/YjuCXYoN3OfmMFXV752kkeRZZBjaIfDrFZn4ywd6Sk5PonoxaDEXqSIObV YAMohcvuFCm5lgu6rQtbXzKPtVVEl9XSj1nC9PWIFLT8y+rBxUMpnBgW5qg5gnl7Z328 JODCB6r/CmzFkq/fTB0v5rlW4z3LS+9j+E0bfXCdVxyhi0NFTEO0MM7KYpaebVIE2iLD +S2gfv/887OryDuKV8hRFGBRTc4rvQqOE6YEO/1ssFiwWxojfWitTKwO5wdL3g4PYINy evlukWxl+2+kJUUnddC43w+1J6ObaOAfNs0Uu1NNnfKJuiAMDhrAtUXlZjcb7jZVsEN6 24Og== X-Forwarded-Encrypted: i=1; AJvYcCU/Od1oE3RsnzP9pU3M3yzxKJdESSdRXuSOVqqqHiBn/iTdzSjteQMu8IKe+5LpTSkHwLk30Pg=@dpdk.org X-Gm-Message-State: AOJu0YwTacSwCQirHXbU5+UzQXupfUBc2Qw0uRkewVAh04AW2kPjibjT jCHvVL3tFoyMid6QDWXVfhCUXkaWf5HtGLjgOwbFEoQk/NhC7nAdsKqzhp17 X-Google-Smtp-Source: AGHT+IEEl25qRSDSeh5wsGC8Jj4SzA2ojpqbxrN7j1RMyfCWBCuvhu/Esf3462VD8eaRbZdLkvWpCg== X-Received: by 2002:adf:e386:0:b0:37d:3f42:9b59 with SMTP id ffacd0b85a97d-37efcee8b5dmr2880733f8f.11.1729718421525; Wed, 23 Oct 2024 14:20:21 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:21cd:def0:a01d:d2aa]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0b9bcc8sm9739030f8f.107.2024.10.23.14.20.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 14:20:21 -0700 (PDT) From: luca.boccassi@gmail.com To: Jie Hai Cc: Huisong Li , Chengwen Feng , dpdk stable Subject: patch 'net/hns3: fix dump counter of registers' has been queued to stable release 22.11.7 Date: Wed, 23 Oct 2024 22:16:34 +0100 Message-ID: <20241023211704.1216956-54-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241023211704.1216956-1-luca.boccassi@gmail.com> References: <20241023211704.1216956-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.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/25/24. 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/9c49c19a4dba98e62acbe90f3e2f2ca129f6a1da Thanks. Luca Boccassi --- >From 9c49c19a4dba98e62acbe90f3e2f2ca129f6a1da Mon Sep 17 00:00:00 2001 From: Jie Hai Date: Thu, 26 Sep 2024 20:42:45 +0800 Subject: [PATCH] net/hns3: fix dump counter of registers [ upstream commit e9b82b4d54c019973ffcb5f404ba920494f70513 ] Since the driver dumps the queue interrupt registers according to the intr_tqps_num, the counter should be the same. Fixes: acb3260fac5c ("net/hns3: fix dump register out of range") Fixes: 936eda25e8da ("net/hns3: support dump register") Signed-off-by: Jie Hai Acked-by: Huisong Li Acked-by: Chengwen Feng --- drivers/net/hns3/hns3_regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/hns3/hns3_regs.c b/drivers/net/hns3/hns3_regs.c index 4997c10ae3..e92e43959f 100644 --- a/drivers/net/hns3/hns3_regs.c +++ b/drivers/net/hns3/hns3_regs.c @@ -127,7 +127,7 @@ hns3_get_regs_length(struct hns3_hw *hw, uint32_t *length) tqp_intr_lines = sizeof(tqp_intr_reg_addrs) / REG_LEN_PER_LINE + 1; len = (cmdq_lines + common_lines + ring_lines * hw->tqps_num + - tqp_intr_lines * hw->num_msi) * REG_NUM_PER_LINE; + tqp_intr_lines * hw->intr_tqps_num) * REG_NUM_PER_LINE; if (!hns->is_vf) { ret = hns3_get_regs_num(hw, ®s_num_32_bit, ®s_num_64_bit); -- 2.45.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-10-23 22:16:42.571662223 +0100 +++ 0054-net-hns3-fix-dump-counter-of-registers.patch 2024-10-23 22:16:40.511943208 +0100 @@ -1 +1 @@ -From e9b82b4d54c019973ffcb5f404ba920494f70513 Mon Sep 17 00:00:00 2001 +From 9c49c19a4dba98e62acbe90f3e2f2ca129f6a1da Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e9b82b4d54c019973ffcb5f404ba920494f70513 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index 8793f61153..8c0c0a3027 100644 +index 4997c10ae3..e92e43959f 100644