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 231A045BAD for ; Wed, 23 Oct 2024 08:28:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C96140E4C; Wed, 23 Oct 2024 08:28:19 +0200 (CEST) Received: from smtpbg150.qq.com (smtpbg150.qq.com [18.132.163.193]) by mails.dpdk.org (Postfix) with ESMTP id BD80840DCD; Wed, 23 Oct 2024 08:28:13 +0200 (CEST) X-QQ-mid: bizesmtpsz8t1729664891t218m0n X-QQ-Originating-IP: ZUkuZm6dp+93KEXv147etS0DdNxqTPmcTXFHbbknSvE= Received: from wxdbg.localdomain.com ( [125.122.84.15]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 23 Oct 2024 14:28:10 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 16689080069762467814 From: Jiawen Wu To: dev@dpdk.org Cc: Jiawen Wu , stable@dpdk.org Subject: [PATCH 02/13] net/txgbe: fix VF-PF mbox interrupt Date: Wed, 23 Oct 2024 14:48:25 +0800 Message-Id: <20241023064836.2017879-3-jiawenwu@trustnetic.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20241023064836.2017879-1-jiawenwu@trustnetic.com> References: <20241023064836.2017879-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: Mn6sU2dhbGGPEkp2EmQrTFa7l1Dky2gxV+tnqGRjZ2vUiWMrjy9FIWXq 4Buf1wrWMQidLxW0NhfBKNmJaoICXwUy+/u3wLRx99hYQvQt1ttUnouMd/UDih+9wMsiYui whmB4DJdoTBgI0NDyTXrxiw5rUOfVC9FSMNPQDkuOsSNCM0ysv5GnS2MUNkcXJ6AdZrZeEs BP8ucHG4gNEpcUcytRedENVPmBn6atPOpjQpJpmHN4ykVdIcdJRp9adzh7MvJFX2okNydES w7MOgmaQYZkfZbsCK+naeXHsiag8Gt0hZY8uSAmS+1jI9BDxiNg/n+VKUXfeIDFBZhFIPBx e7TjLS0PL7MmISLctGDHr/J4MkXPf1qe3i5gBRLHIEgL4kawCXP173gJqWTzXaJrqalMax4 Dv5QWCnmbXVtIUK7mqQ0curau7W2fv83tdHqe8qh7RHz9Em+b1dp97Yh/8hbixoNbBe7+BR zcZxmTTQW9eAWVl/60p2xazd4BlgopvrBrqh9/V+w/DULjCHBxm6a+q7PvoeJhVA2qFlwqQ Qzy9ahKprbh6a124vlWor+dC3hZUJP1BVXBQ0Nc1cpfIS8VnscsPx7ZyfH5v/di6Mnb0lgQ R3kAgVQe3CNZLVVHP+nQe6oaQFQXo36KIHC6Y9nMDkJ7cTpDUT2OHweXfuKMRwiDj9hJPK8 OPqxy4Hr4J+a7A1Wivi0ShA1XslDERukf/YBFtDolbrlAWv9+lbL5jEp49EYAGl3k63j2vw TtfuuHgO4jfb4PMCk+5BydQKloIMD6WZvQ63EmfK7lL5tzE5VnEaKtQYfOdw1lBvZXQguVR xM7dgPFWmGP6BcUc/kk94TfH2jHk9EQfWb2dWvkNJTC9+D/oqy9XEm0oW2laHI8+nR7gWO+ E0BJtJIqmnixhNUoiqGvvyBDz4ZDqilKWg8oIrYJldpMtCBwn+E5H5ssG7rc7GI+H4NRjVf NKZ4+bCcpO7kVLQ== X-QQ-XMRINFO: OWPUhxQsoeAVDbp3OJHYyFg= 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