22/11/2019 15:03, Gaëtan Rivet: > Hi Thomas, > > On Fri, Nov 22, 2019 at 02:48:08PM +0100, Thomas Monjalon wrote: > > The script test-null.sh is supposed to do a quick and simple > > run of testpmd with null PMD only, for sanity check. > > As it is not supposed to test probing of any other PMD, > > physical device probing is switched to whitelist mode > > by using a fake PCI address (0:0.0). > > It will also help to keep memory usage stable across platforms. > > > > With https://patchwork.dpdk.org/patch/62014/, --manual-probe could be > used as a more standard way of workarounding the PCI bus.
I really would like we have a better bus API before implementing some new command line options. Command line options should be optional and considered only helpers for internal applications. Anyway it is another discussion, and I hope I will have time and courage to participate in such rework soon. > This is a common issue, we should have cleaner way of addressing it than > using hacks relying on the PCI bus not panicking up upon finding an > inexistant address. Which is a questionable behavior, users should not > be encouraged to rely on it. Yes