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 39FA145BE5; Mon, 28 Oct 2024 03:08:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 06ADE40662; Mon, 28 Oct 2024 03:08:47 +0100 (CET) Received: from smtpbguseast2.qq.com (smtpbguseast2.qq.com [54.204.34.130]) by mails.dpdk.org (Postfix) with ESMTP id B3F3240656; Mon, 28 Oct 2024 03:08:43 +0100 (CET) X-QQ-mid: bizesmtpsz8t1730081309t4zsaxi X-QQ-Originating-IP: XKJTTxmvHMGAWHy0vjmRVcuS8wKQ45i43w7/981fgEw= Received: from wxdbg.localdomain.com ( [36.24.66.21]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 28 Oct 2024 10:08:29 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 11424326221770304914 From: Jiawen Wu To: dev@dpdk.org Cc: Jiawen Wu , stable@dpdk.org Subject: [PATCH v2 02/13] net/txgbe: fix VF-PF mbox interrupt Date: Mon, 28 Oct 2024 10:31:36 +0800 Message-Id: <20241028023147.60157-3-jiawenwu@trustnetic.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20241028023147.60157-1-jiawenwu@trustnetic.com> References: <20241023064836.2017879-1-jiawenwu@trustnetic.com> <20241028023147.60157-1-jiawenwu@trustnetic.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtpsz:trustnetic.com:qybglogicsvrgz:qybglogicsvrgz8a-1 X-QQ-XMAILINFO: M+0YV038q5N181kB1R3fgKfP3RL353q4ogBuq6+LAthrsMYBCULUel/W Lpz5Z8DOlhIzNu1uFni1YhxM+xz033GJbDfQIJcc2A5HoEFv4oW+qi9Eu3ItCL/hEUj+6yq EMNUPRijP0tjeVm7SP3VPZtXMN3ZAcQ28KFFe4gOG5avJOV7JM/f2HxOFnh9Xc9HpTL6u4l t3ADfTQqq6c07WqaQ/7UWCloIIplZ9it3Wt54FxqVK9fsfW4Z5Nn6/WUXWdCGWJvuSyHjeA 7VTqqUvzhjyXh7h7KAouCj94ph48Rh/m3QZQOt1xlSc6xC78X02V0XXb0oJhS8Afk0nU7v4 7NRcOrThk+4oeZltasC2NpC4xxAedLHAInB7hMtLr2GiXxoMyuL1Ol0t93xxAmxtCjCE4in NklmVOAGdLpnE3z1gg74r7AQPF9egPrSrwxX7JfJFU+50RXP1vj/lTLaKQUQUbq8qXWcbDN YYXTyXEcHdMiri7QXxrmb5UcGV9H0suQfeCDjjBHZw9MKtLQnUEhJmcG1kCsRjP216hyCDe qzroj16mVF3XjfKEKIlcfVDaFpq70YNegLdnMD0mDIeimFgjgGx8yfqKiJwoZcwsxKHnpDi Ks7AZ+q+EbHs/7l7AA/xxhyhWX3Zhq2p6Vf15/cN2lvLDOba8ybZKtolGk7hfC2tyz/yzaF nZkSLJGGeDeJXvwAIcnOxd5QhpTzqeXGyiey+uRxkDg5pWYXLPyPS6N0X/+CaFgC9yF2g6j m9PeR9m7MeDCzbvsh9gIjLFgcBqneooQ0dzxCJ59dHutlfduRGYFmN8w8v+a43uyqf424gQ S/a4eqkq+5vkWMcWdyu0YY2Fp0H3zWxB4Ryd2Al6pPbYAyYC7j/MhM4DwTCPtU/XrF+0BYz 1QTrNZ1dMc+JwpjRFsitvCukN50trVhznNwZaTKoavQgTBQCV21OWKvTZy2ZZFr9QVQytEG nkw2dp1p49pXvKjN8pWTClXdU X-QQ-XMRINFO: MSVp+SPm3vtS1Vd6Y4Mggwc= X-QQ-RECHKSPAM: 0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-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