Re: [dpdk-dev] Feature Discussion: CPU topology detection on FreeBSD

2021-01-29 Thread Oscar Zhao
21 10:05 AM, Bruce Richardson wrote: >> On Thu, Jan 28, 2021 at 04:07:07AM +, Oscar Zhao wrote: >>> Hello dpdk devs, >>> >>> I would like to discuss the feasibility of implementing CPU topology >>> detection on FreeBSD. >> Currently both eal_cpu_cor

[dpdk-dev] Feature Discussion: CPU topology detection on FreeBSD

2021-01-29 Thread Oscar Zhao
Hello dpdk devs, I would like to discuss the feasibility of implementing CPU topology detection on FreeBSD. Currently both eal_cpu_core_id() and eal_cpu_socket_id() in rte_eal library always return 0 on FreeBSD, making NUMA-aware development impossible without resorting to external libraries or