On Thu, Aug 1, 2019 at 2:29 PM David Marchand <[email protected]> wrote: > > On Thu, Aug 1, 2019 at 2:28 PM David Marchand <[email protected]> > wrote: > > > > The memory tests currently check that, for normal mode (not legacy mode), > > there is no memory left behind when exiting. > > > > The problem is that if a ethdev port is allocated when scanning pci > > devices (even if the driver probe fails like when you have a virtio > > management interface attached to the kernel), on exit, dpdk won't free > > the associated memory since ethdev never frees the ethdev memzone. > > > > Workaround this by disabling pci scan. > > Not entirely happy with this patch. > I am open to suggestions :-)
Note: this problem won't be seen in shared builds as long as the pci drivers for net devices are not loaded. -- David Marchand

