[PATCH v2] eal/linux: fix fbarray name with multiple secondaryprocesses
Zhou congjie
zcjie0802 at qq.com
Sat Nov 16 03:53:53 CET 2024
On Fri, 15 Nov 2024, Stephen Hemminger wrote:
> Need to include <rte_cycles.h> to get the prototype rte_get_tsc_cycles()
For the code without <rte_cycles.h> could run on x86, I think I have found
the reason. Through the path <rte_memory.h> -> <rte_eal_memconfig.h> ->
<rte_spinlock.h>, the <rte_spinlock.h> is included.
<rte_spinlock.h> is independent on each architecture. And on x86 the
<rte_spinlock.h> includes its own "rte_cycles.h", while other
architectures do not.
More information about the dev
mailing list