[dpdk-dev] [PATCH v6 05/19] eal: add support parsing socket_id from cpuset

2015-02-15 Thread Liang, Cunming
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Friday, February 13, 2015 9:52 PM > To: Liang, Cunming > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 05/19] eal: add support parsing socket_id > from cpuset > > On

[dpdk-dev] [PATCH v6 05/19] eal: add support parsing socket_id from cpuset

2015-02-13 Thread Cunming Liang
It returns the socket_id if all cpus in the cpuset belongs to the same NUMA node, otherwise it will return SOCKET_ID_ANY. Signed-off-by: Cunming Liang --- v5 changes: expose cpu_socket_id as eal_cpu_socket_id for linuxapp eal_cpuset_socket_id() remove static inline and move to c file lib

[dpdk-dev] [PATCH v6 05/19] eal: add support parsing socket_id from cpuset

2015-02-13 Thread Neil Horman
On Fri, Feb 13, 2015 at 09:38:07AM +0800, Cunming Liang wrote: > It returns the socket_id if all cpus in the cpuset belongs > to the same NUMA node, otherwise it will return SOCKET_ID_ANY. > > Signed-off-by: Cunming Liang > --- > v5 changes: >expose cpu_socket_id as eal_cpu_socket_id for lin