Re: [dpdk-dev] [PATCH v4] app/testpmd: fix mempool creation by socket id

2017-05-10 Thread Thomas Monjalon
09/05/2017 10:54, Wu, Jingjing: > From: Shahaf Shuler [mailto:shah...@mellanox.com] > > > > The test assumes the socket ids are contiguous. This is not necessarily the > > case > > on all servers and may cause mempool creation to fail. > > > > Fixing it by detecting the list of valid socket ids

Re: [dpdk-dev] [PATCH v4] app/testpmd: fix mempool creation by socket id

2017-05-09 Thread Wu, Jingjing
> -Original Message- > From: Shahaf Shuler [mailto:shah...@mellanox.com] > Sent: Tuesday, May 9, 2017 3:29 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; tho...@monjalon.net; sta...@dpdk.org > Subject: [PATCH v4] app/testpmd: fix mempool creation by socket id > > The test assumes the socket

[dpdk-dev] [PATCH v4] app/testpmd: fix mempool creation by socket id

2017-05-09 Thread Shahaf Shuler
The test assumes the socket ids are contiguous. This is not necessarily the case on all servers and may cause mempool creation to fail. Fixing it by detecting the list of valid socket ids and use it for the mempool creation. Fixes: 7acf894d07d1 ("app/testpmd: detect numa socket count") CC: sta..