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 7F19F45C9B for ; Tue, 12 Nov 2024 23:09:26 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 791404064C; Tue, 12 Nov 2024 23:09:26 +0100 (CET) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mails.dpdk.org (Postfix) with ESMTP id A9A8740A87 for ; Tue, 12 Nov 2024 23:09:25 +0100 (CET) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-43155afca99so612625e9.1 for ; Tue, 12 Nov 2024 14:09:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731449365; x=1732054165; 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=rk//yGeirvPhi6p9obmm1WELfW45ufGmYdrMN5uOy8s=; b=H6vBWvVZCCk8u9CzGlSL8GrCzCkD7eNbaI83SKRgG7Yxdhblus+QH3SulrQZs18Yfp XxuH33G9vsCJrAf3RxvqSYY09IPukHT3TiT1lD5Lzkh63pp1FW1TWIky5VZ+U/5Tl3oa nYfdNTxNizeGpOHLxdjBd90v7pHuh57y1noqj7LT0k403K2Bw+fxWnomSGlclAgTAK4K FPv5JN6WSzyNQKMmtd4X6fckAxS6nxRksYF1t4L5zcoe0+yGW2zMeoAgevl9UYKelPOP mgc6+nVY09WHo7baScwMdMYGGyEaIlJmiuoFizVOUj/VH8nDOf3QzU10KrX0CnSGKa/1 E5jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731449365; x=1732054165; 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=rk//yGeirvPhi6p9obmm1WELfW45ufGmYdrMN5uOy8s=; b=mJqGFBxLuFd5ZEzNRp2m/0zS/0dT9oEwiS7HgZ9OPW0tltb44f8to4Lx0kHlO4ko6z hcHGeVuKx9DitKCiVap9j6Vrqhuwv4BxAYAXjaALjy1RzGjfPbYe0ePTf1GeRziqlFHQ mgzj+yiNFzo1txyE1z+sSxnZlXxf8Cf3s+dCwHe/xluMxkmE0+yZLadu66mG00SnhRug V96oBv1DerSZk2thZ3aTzyu4ul4MTJKfmqq+zWKaamlJorG8yXJWj1oBDNGwzY6HcGO8 FkmDxwjvk8YuYjXpHa4P+z91ejMvOourXNIAT1sy/2zQn/uiR6//Wfuhqogmmi1BGwjh 5xUQ== X-Gm-Message-State: AOJu0Yy8k81HXqSz82V/MEfi4tdyJL/xbcJB30bvJCYP/OOAKc8IMMrM 5ID/AxFAkrqMDqjt7Vef5vUs6PBbx3d5d1AcYfSBHhM/wWlUQv+JDCzrVA== X-Google-Smtp-Source: AGHT+IGo8rsYvQ9JrseMfjFF4Jg0N5rJLv8LUUa8P84ZiFt1u3+4kIE5kv4R6AJ9oFGzHIcl1o7qPQ== X-Received: by 2002:a5d:5f8e:0:b0:37d:5251:e5ad with SMTP id ffacd0b85a97d-381f0f40e32mr16921922f8f.2.1731449365146; Tue, 12 Nov 2024 14:09:25 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:e89d:e9a1:da72:2f9d]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432d54e2cbesm1053625e9.4.2024.11.12.14.09.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 14:09:24 -0800 (PST) From: luca.boccassi@gmail.com To: Jiawen Wu Cc: dpdk stable Subject: patch 'net/txgbe: fix VF-PF mbox interrupt' has been queued to stable release 22.11.7 Date: Tue, 12 Nov 2024 22:07:35 +0000 Message-ID: <20241112220754.666489-25-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241112220754.666489-1-luca.boccassi@gmail.com> References: <20241023211704.1216956-79-luca.boccassi@gmail.com> <20241112220754.666489-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 11/14/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/52df3420984f2ac3c43ed079a5e994903f063676 Thanks. Luca Boccassi --- >From 52df3420984f2ac3c43ed079a5e994903f063676 Mon Sep 17 00:00:00 2001 From: Jiawen Wu Date: Mon, 4 Nov 2024 10:29:56 +0800 Subject: [PATCH] net/txgbe: fix VF-PF mbox interrupt [ upstream commit 5a4ce69701fc01f23a2769c8afff055d87eff864 ] There was a incorrect bit to define TXGBE_ICRMISC_VFMBX that prevents the interrupt from being handled correctly. Fixes: a6712cd029a4 ("net/txgbe: add PF module init and uninit for SRIOV") Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/txgbe/base/txgbe_regs.h b/drivers/net/txgbe/base/txgbe_regs.h index a2984f1106..db02b1b81b 100644 --- a/drivers/net/txgbe/base/txgbe_regs.h +++ b/drivers/net/txgbe/base/txgbe_regs.h @@ -1197,7 +1197,7 @@ enum txgbe_5tuple_protocol { #define TXGBE_ICRMISC_ANDONE MS(19, 0x1) /* link auto-nego done */ #define TXGBE_ICRMISC_ERRIG MS(20, 0x1) /* integrity error */ #define TXGBE_ICRMISC_SPI MS(21, 0x1) /* SPI interface */ -#define TXGBE_ICRMISC_VFMBX MS(22, 0x1) /* VF-PF message box */ +#define TXGBE_ICRMISC_VFMBX MS(23, 0x1) /* VF-PF message box */ #define TXGBE_ICRMISC_GPIO MS(26, 0x1) /* GPIO interrupt */ #define TXGBE_ICRMISC_ERRPCI MS(27, 0x1) /* pcie request error */ #define TXGBE_ICRMISC_HEAT MS(28, 0x1) /* overheat detection */ -- 2.45.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-12 22:06:59.482004253 +0000 +++ 0025-net-txgbe-fix-VF-PF-mbox-interrupt.patch 2024-11-12 22:06:58.671307265 +0000 @@ -1 +1 @@ -From 5a4ce69701fc01f23a2769c8afff055d87eff864 Mon Sep 17 00:00:00 2001 +From 52df3420984f2ac3c43ed079a5e994903f063676 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 5a4ce69701fc01f23a2769c8afff055d87eff864 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -18 +19 @@ -index 4ea4a2e3d8..b46d65331e 100644 +index a2984f1106..db02b1b81b 100644