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 2577BA0507; Wed, 27 Apr 2022 13:04:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7D6F40E78; Wed, 27 Apr 2022 13:04:38 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 7D5F840691 for ; Wed, 27 Apr 2022 13:04:37 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 6A2B4A0508; Wed, 27 Apr 2022 13:04:37 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 996] DPDK:20.11.1: net/ena crash while fetching xstats Date: Wed, 27 Apr 2022 11:04:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: mk@semihalf.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.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 https://bugs.dpdk.org/show_bug.cgi?id=3D996 Michal Krawczyk (mk@semihalf.com) changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WONTFIX |--- Status|RESOLVED |UNCONFIRMED --- Comment #3 from Michal Krawczyk (mk@semihalf.com) --- Hey Amiya, sorry for the late reply, I was OOO for one week. Thank you for providing us with more details.=20 If you aren't calling any API that needs to use the ENA admin queue from the secondary process, the situation you're seeing shouldn't happen. I just executed simple application on DPDK v20.11.1 in MP mode - the main process is fetching the xstats, the secondary process is simply performing = the packets forwarding. The application is not crashing for my case. >From what I understand, the crash happens, because: 1. The ENA admin queue is not using the shared memory 2. The secondary process sends the request and saves it in the secondary process memory 3. The primary process receives the interrupt and executes the completion handler=20 4. The completion handler cannot find the relevant request (as it's in the secondary process memory) and the app crashes. Please double check if: 1. The xstats aren't being fetched from the secondary process 2. You aren't calling any of API below from the secondary process, which al= so uses the ENA admin queue: - rte_eth_dev_set_mtu() - rte_eth_dev_rss_reta_update() - rte_eth_dev_rss_reta_query() The point 1. is much more likely as you've described it's a regression in v20.11, and indeed - the xstats were extended after v19.11 release. If none of the above is true, every other information that could potentially get us closer to the core of the issue may be helpful (we can't reproduce t= his on our side). Thanks, Michal --=20 You are receiving this mail because: You are the assignee for the bug.=