Re: [dpdk-dev] [PATCH] eal/bsd: query the cpu count only once

2017-03-27 Thread Thomas Monjalon
2017-03-23 15:09, Bruce Richardson: > Rather than querying the number of CPUs on the system multiple times, and > printing out the number each time, just query the value from sysctl once > and store it for future reuse. > > Signed-off-by: Bruce Richardson Applied, thanks

[dpdk-dev] [PATCH] eal/bsd: query the cpu count only once

2017-03-23 Thread Bruce Richardson
Rather than querying the number of CPUs on the system multiple times, and printing out the number each time, just query the value from sysctl once and store it for future reuse. Signed-off-by: Bruce Richardson --- lib/librte_eal/bsdapp/eal/eal_lcore.c | 8 +--- 1 file changed, 5 insertions(+