[dpdk-dev] [Bug 264] ring_pmd fails to properly release used port on 17.11 branch

bugzilla at dpdk.org bugzilla at dpdk.org
Thu May 2 13:23:24 CEST 2019


https://bugs.dpdk.org/show_bug.cgi?id=264

            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 at dpdk.org
          Reporter: matias.elo at nokia.com
  Target Milestone: ---

During do_eth_dev_ring_create() the global eth_dev->data pointer is overwritten
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. 

This issue is already fixed in master branch by commit 5f19dee60 "drivers/net:
do not use private ethdev data" but this commit is missing from the LTS 17.11
branch.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list