From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 33) id DC9234C8D; Thu, 2 May 2019 13:23:24 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 02 May 2019 11:23:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 17.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matias.elo@nokia.com X-Bugzilla-Status: CONFIRMED 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 Subject: [dpdk-dev] [Bug 264] ring_pmd fails to properly release used port on 17.11 branch X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 May 2019 11:23:25 -0000 https://bugs.dpdk.org/show_bug.cgi?id=3D264 Bug ID: 264 Summary: ring_pmd fails to properly release used port on 17.11 branch Product: DPDK Version: 17.11 Hardware: All OS: All Status: CONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: matias.elo@nokia.com Target Milestone: --- During do_eth_dev_ring_create() the global eth_dev->data pointer is overwri= tten with a pointer to a newly allocated memory block. When ring pmd is uninitialized, the locally allocated data is freed but the global pointer is newer fixed. One symptom of this is that the used ethdev port will appear reserved even after the ring pmd has been uninitialized.=20 This issue is already fixed in master branch by commit 5f19dee60 "drivers/n= et: do not use private ethdev data" but this commit is missing from the LTS 17.= 11 branch. --=20 You are receiving this mail because: You are the assignee for the bug.= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id D5AD9A0AC5 for ; Thu, 2 May 2019 13:23:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 996094C8D; Thu, 2 May 2019 13:23:25 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 33) id DC9234C8D; Thu, 2 May 2019 13:23:24 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 02 May 2019 11:23:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 17.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matias.elo@nokia.com X-Bugzilla-Status: CONFIRMED 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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 Subject: [dpdk-dev] [Bug 264] ring_pmd fails to properly release used port on 17.11 branch X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190502112324.pfB13C1ikxBjlCJA30CUo4FlKeiCgfSZkeKFY5DGp40@z> https://bugs.dpdk.org/show_bug.cgi?id=3D264 Bug ID: 264 Summary: ring_pmd fails to properly release used port on 17.11 branch Product: DPDK Version: 17.11 Hardware: All OS: All Status: CONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: matias.elo@nokia.com Target Milestone: --- During do_eth_dev_ring_create() the global eth_dev->data pointer is overwri= tten with a pointer to a newly allocated memory block. When ring pmd is uninitialized, the locally allocated data is freed but the global pointer is newer fixed. One symptom of this is that the used ethdev port will appear reserved even after the ring pmd has been uninitialized.=20 This issue is already fixed in master branch by commit 5f19dee60 "drivers/n= et: do not use private ethdev data" but this commit is missing from the LTS 17.= 11 branch. --=20 You are receiving this mail because: You are the assignee for the bug.=