Re: [dpdk-dev] [PATCH 18.05 v4] eal: add function to return number of detected sockets

2018-03-22 Thread Burakov, Anatoly
On 22-Mar-18 5:16 AM, gowrishankar muthukrishnan wrote: On Wednesday 21 March 2018 03:54 PM, Burakov, Anatoly wrote: +    config->numa_node_count = max_socket_id + 1; In some IBM servers, socket ID number does not seem to be in sequence. For an instance, 0 and 8 for a 2 node server. In th

Re: [dpdk-dev] [PATCH 18.05 v4] eal: add function to return number of detected sockets

2018-03-21 Thread gowrishankar muthukrishnan
On Wednesday 21 March 2018 03:54 PM, Burakov, Anatoly wrote: +    config->numa_node_count = max_socket_id + 1; In some IBM servers, socket ID number does not seem to be in sequence. For an instance, 0 and 8 for a 2 node server. In this case, numa_node_count would mislead users if wrongly

Re: [dpdk-dev] [PATCH 18.05 v4] eal: add function to return number of detected sockets

2018-03-21 Thread Burakov, Anatoly
On 21-Mar-18 4:59 AM, gowrishankar muthukrishnan wrote: On Wednesday 07 February 2018 03:28 PM, Anatoly Burakov wrote: During lcore scan, find maximum socket ID and store it. This will break the ABI, so bump ABI version. Signed-off-by: Anatoly Burakov --- Notes: v4: - Remove backwar

Re: [dpdk-dev] [PATCH 18.05 v4] eal: add function to return number of detected sockets

2018-03-20 Thread gowrishankar muthukrishnan
On Wednesday 07 February 2018 03:28 PM, Anatoly Burakov wrote: During lcore scan, find maximum socket ID and store it. This will break the ABI, so bump ABI version. Signed-off-by: Anatoly Burakov --- Notes: v4: - Remove backwards ABI compatibility, bump ABI instead v3:

Re: [dpdk-dev] [PATCH 18.05 v4] eal: add function to return number of detected sockets

2018-03-20 Thread Thomas Monjalon
08/03/2018 15:38, Burakov, Anatoly: > On 08-Mar-18 12:12 PM, Bruce Richardson wrote: > > Question: we are ok assuming that the socket numbers are sequential, or > > nearly so, and knowing the maximum socket number seen is a good > > approximation of the actual physical sockets? I know in terms of c

Re: [dpdk-dev] [PATCH 18.05 v4] eal: add function to return number of detected sockets

2018-03-09 Thread Bruce Richardson
On Thu, Mar 08, 2018 at 02:38:37PM +, Burakov, Anatoly wrote: > On 08-Mar-18 12:12 PM, Bruce Richardson wrote: > > On Wed, Feb 07, 2018 at 09:58:36AM +, Anatoly Burakov wrote: > > > During lcore scan, find maximum socket ID and store it. This will > > > break the ABI, so bump ABI version. >

Re: [dpdk-dev] [PATCH 18.05 v4] eal: add function to return number of detected sockets

2018-03-08 Thread Burakov, Anatoly
On 08-Mar-18 12:12 PM, Bruce Richardson wrote: On Wed, Feb 07, 2018 at 09:58:36AM +, Anatoly Burakov wrote: During lcore scan, find maximum socket ID and store it. This will break the ABI, so bump ABI version. Signed-off-by: Anatoly Burakov --- Notes: v4: - Remove backwards ABI

Re: [dpdk-dev] [PATCH 18.05 v4] eal: add function to return number of detected sockets

2018-03-08 Thread Bruce Richardson
On Wed, Feb 07, 2018 at 09:58:36AM +, Anatoly Burakov wrote: > During lcore scan, find maximum socket ID and store it. This will > break the ABI, so bump ABI version. > > Signed-off-by: Anatoly Burakov > --- > > Notes: > v4: > - Remove backwards ABI compatibility, bump ABI instead >

[dpdk-dev] [PATCH 18.05 v4] eal: add function to return number of detected sockets

2018-02-07 Thread Anatoly Burakov
During lcore scan, find maximum socket ID and store it. This will break the ABI, so bump ABI version. Signed-off-by: Anatoly Burakov --- Notes: v4: - Remove backwards ABI compatibility, bump ABI instead v3: - Added ABI compatibility v2: - checkpatch changes