Re: [dpdk-dev] [PATCH v2 1/2] devtools: restore null test

2019-07-29 Thread David Marchand
On Mon, Jul 29, 2019 at 2:16 PM Thomas Monjalon wrote: > > 29/07/2019 12:35, David Marchand: > > On Wed, Jul 17, 2019 at 5:53 PM Thomas Monjalon wrote: > > > --- a/devtools/test-null.sh > > > +++ b/devtools/test-null.sh > > > -if grep -q SHARED_LIB=y $build/.config; then > > > - pmd='-d lib

Re: [dpdk-dev] [PATCH v2 1/2] devtools: restore null test

2019-07-29 Thread Thomas Monjalon
29/07/2019 12:35, David Marchand: > On Wed, Jul 17, 2019 at 5:53 PM Thomas Monjalon wrote: > > --- a/devtools/test-null.sh > > +++ b/devtools/test-null.sh > > -if grep -q SHARED_LIB=y $build/.config; then > > - pmd='-d librte_pmd_null.so' > > +testpmd=$build/app/dpdk-testpmd > > +[ -f "$test

Re: [dpdk-dev] [PATCH v2 1/2] devtools: restore null test

2019-07-29 Thread David Marchand
On Wed, Jul 17, 2019 at 5:53 PM Thomas Monjalon wrote: > > This small testpmd test was not working for a long time > because of several changes in EAL and mempool. > The 3 main issues solved are: > - Make --no-huge working by specifying an amount of memory > to allocate in

[dpdk-dev] [PATCH v2 1/2] devtools: restore null test

2019-07-17 Thread Thomas Monjalon
This small testpmd test was not working for a long time because of several changes in EAL and mempool. The 3 main issues solved are: - Make --no-huge working by specifying an amount of memory to allocate in legacy mode, and disabling mlockall. - Load a mempool handle