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

Wu, Jingjing jingjing.wu at intel.com
Tue May 9 10:54:24 CEST 2017



> -----Original Message-----
> From: Shahaf Shuler [mailto:shahafs at mellanox.com]
> Sent: Tuesday, May 9, 2017 3:29 PM
> To: Wu, Jingjing <jingjing.wu at intel.com>
> Cc: dev at dpdk.org; thomas at monjalon.net; stable at dpdk.org
> Subject: [PATCH v4] app/testpmd: fix mempool creation by socket id
> 
> 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: stable at dpdk.org
> Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
Acked-by: Jingjing Wu <jingjing.wu at intel.com>


More information about the dev mailing list