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 7876F45C2A for ; Mon, 4 Nov 2024 03:07:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7209540687; Mon, 4 Nov 2024 03:07:04 +0100 (CET) Received: from smtpbguseast3.qq.com (smtpbguseast3.qq.com [54.243.244.52]) by mails.dpdk.org (Postfix) with ESMTP id EE7354068E; Mon, 4 Nov 2024 03:07:01 +0100 (CET) X-QQ-mid: bizesmtp91t1730686018tu9ezqbp X-QQ-Originating-IP: 0D7KSTcsBpL04s1b8FrIesz/mBs1gFyLqzryv1zOfl4= Received: from wxdbg.localdomain.com ( [60.186.23.108]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 04 Nov 2024 10:06:57 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 2683516194218546617 From: Jiawen Wu To: dev@dpdk.org Cc: Jiawen Wu , stable@dpdk.org Subject: [PATCH v3 02/13] net/txgbe: fix VF-PF mbox interrupt Date: Mon, 4 Nov 2024 10:29:56 +0800 Message-Id: <20241104023007.782475-3-jiawenwu@trustnetic.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20241104023007.782475-1-jiawenwu@trustnetic.com> References: <20241028023147.60157-1-jiawenwu@trustnetic.com> <20241104023007.782475-1-jiawenwu@trustnetic.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:trustnetic.com:qybglogicsvrgz:qybglogicsvrgz8a-1 X-QQ-XMAILINFO: M182XWJxg1fqXAY8pIqmiIJHp3H7yuEbb1fvIJH+Got1O/67TVBRk6/4 ahZymdyw7ksU8v2RzdwrPHYvh7AP1iYava6PNQlq6QQhlf2/YEJF1LwruXm97tjh/XmcdVu w2SJ7MDC3oRJ+WpziRGsYyo+FoYhuM2uVm5JOQBKKJV+UIXW+76bz11DsQTEmkv7go/3yU9 mxl4Ey2Royh3lgFoYbhKmcWMzPrPRUY8disWKAvuBh3+HS01R2NIwhZNy5vB/38dgtVWjKs l7/lr//VHyKw1niL0muVaTKsdwgNPGzkdOqslRmYFWxNsGLaXtt30cfeC5A8bI1GSUcdHHU Nklw1nugBKc/PQfCnklwYwJXXb5Qn5U67AdY3gy3M3E161kmFFejuCCqFCyDdUQKRuPcaWA iQncSUSUaZNLPWjb+oWGgrY2uV4MOZnC8DQygeofTzd3/OlH3CatLvQw4m5qiaX1d1qyH9N Hq7Fi1dvCgG2bPPvjkGY8e/JcBHDJbWbP2Y0dfRGsDZ06hT4jwbxSffeFJ71yxtu9YMFFPE oc5KnWssK2ZYIhgIxc1Tj67+7y041AZgLY+wHcvSSE7ESI6XZo/emGOYqyH0rM3lHuFMniV yaMCJyoieO1K3m7m9+SemJF3PJNQMWsRdofTMJmLvQBpUeQJaXe96Tf5oUc9c0aiAtXob9K zXmO2vp8uHLl1q90jLlhl75DXu1yAZXR27DC3HyrO7p7HXcsgD14ihTfp2na1HSAvc2Kx5d raYpds15GS5aMh7GeXmftABgj601jvCygL5YYLsZqg5IEXUYLMiQrsGazLgca6h6ghv7cuY H7eNptg3tIVi5EzQ0fRgTkY+I55dZhpm+jkm0EWbfopflFUVjcihlBLWFJZzG8725uGlWbc 8Ok6iXtusKmQp4dY+5BREQKo7+vquMNedULZSoRjSFCr4/glTEPM9MXktiPbbVlOy9JTa+7 watILxD3rgkXOEnxSF/XkuS6Wa5p7kexmfDc= X-QQ-XMRINFO: M/715EihBoGSf6IYSX1iLFg= X-QQ-RECHKSPAM: 0 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 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") Cc: stable@dpdk.org 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 4ea4a2e3d8..b46d65331e 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.27.0