numam-dpdk/lib/librte_eal/common
Ruifeng Wang e9b9739264 config: remap flags used for Arm platforms
RTE_ARCH_xx flags are used to distinguish platform architectures.
These flags can be used to pick different code paths for different
architectures at compile time.
For Arm platforms, there are 3 flags in use: RTE_ARCH_ARM,
RTE_ARCH_ARMv7 and RTE_ARCH_ARM64.
RTE_ARCH_ARM64 is for 64-bit aarch64 platforms,
and RTE_ARCH_ARM & RTE_ARCH_ARMv7 are for 32-bit platforms.
RTE_ARCH_ARMv7 is for ARMv7 platforms as its name suggested.

The issue is meaning of RTE_ARCH_ARM is not clear enough.
Because no info about platform word length is included in the name.
To make the flag names more clear, a naming scheme is proposed.

RTE_ARCH_ARM (all Arm platforms)
    |
    +----RTE_ARCH_32 (New. 32-bit platforms of all architectures)
    |        |
    |        +----RTE_ARCH_ARMv7 (ARMv7 platforms)
    |        |
    |        +----RTE_ARCH_ARMv8_AARCH32 (aarch32 state on aarch64 machine)
    |
    +----RTE_ARCH_64 (64-bit platforms of all architectures)
             |
             +----RTE_ARCH_ARM64 (64-bit Arm platforms)

RTE_ARCH_32 will be explicitly defined for 32-bit platforms.

To fit into the new naming scheme, current usage of RTE_ARCH_ARM in
project is mapped to (RTE_ARCH_ARM && RTE_ARCH_32).

Matching flags for other architectures are:
RTE_ARCH_X86
    |
    +----RTE_ARCH_32
    |        |
    |        +----RTE_ARCH_I686
    |        |
    |        +----RTE_ARCH_X86_X32
    |
    +----RTE_ARCH_64
             |
             +----RTE_ARCH_X86_64

RTE_ARCH_PPC_64 ---- RTE_ARCH_64

Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
2020-10-13 16:35:48 +02:00
..
eal_common_bus.c eal: replace license text with SPDX tag 2019-07-29 22:55:14 +02:00
eal_common_class.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
eal_common_config.c eal: move OS common config objects 2020-06-30 00:02:53 +02:00
eal_common_cpuflags.c eal: remove deprecated CPU flags check function 2019-10-27 10:35:58 +01:00
eal_common_debug.c eal: move OS common debug functions to single file 2020-06-24 11:02:29 +02:00
eal_common_dev.c eal: fix positive error codes from probe/remove 2019-06-29 21:28:38 +02:00
eal_common_devargs.c devargs: promote experimental API as stable 2019-04-17 18:30:04 +02:00
eal_common_dynmem.c eal: move OS common config objects 2020-06-30 00:02:53 +02:00
eal_common_errno.c build/freebsd: rename macro BSDPAPP to FREEBSD 2019-03-12 23:01:14 +01:00
eal_common_fbarray.c eal: move OS common config objects 2020-06-30 00:02:53 +02:00
eal_common_hexdump.c eal: align hexdump output 2019-04-03 18:34:59 +02:00
eal_common_hypervisor.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
eal_common_launch.c eal: make lcore config private 2019-10-27 10:35:11 +01:00
eal_common_lcore.c eal: add lcore iterators 2020-07-08 14:41:06 +02:00
eal_common_log.c log: hide internal variable 2020-09-16 18:37:11 +02:00
eal_common_mcfg.c eal: move OS common config objects 2020-06-30 00:02:53 +02:00
eal_common_memalloc.c eal: move OS common config objects 2020-06-30 00:02:53 +02:00
eal_common_memory.c eal: move OS common config objects 2020-06-30 00:02:53 +02:00
eal_common_memzone.c trace: add memzone tracepoints 2020-04-23 15:39:51 +02:00
eal_common_options.c vfio: support VF token 2020-07-07 14:06:49 +02:00
eal_common_proc.c eal: add multiprocess disable API 2020-07-08 14:41:06 +02:00
eal_common_string_fns.c eal: add strscpy function 2018-09-19 11:38:19 +02:00
eal_common_tailqs.c eal: hide shared memory config 2019-07-06 10:32:34 +02:00
eal_common_thread.c eal: add multiprocess disable API 2020-07-08 14:41:06 +02:00
eal_common_timer.c timer: move from common to Unix directory 2020-06-23 18:33:20 +02:00
eal_common_trace_ctf.c trace: fix size_t field emitter 2020-10-07 14:40:31 +02:00
eal_common_trace_points.c trace: add size_t as generic trace point 2020-10-07 14:44:03 +02:00
eal_common_trace_utils.c trace: fix build with gcc 10 2020-05-06 15:07:18 +02:00
eal_common_trace.c eal: introduce thread uninit helper 2020-07-08 14:39:26 +02:00
eal_common_uuid.c eal: remove uuid license boilerplate 2019-11-28 03:12:55 +01:00
eal_filesystem.h fix off-by-one errors in snprintf 2019-05-29 13:02:53 +02:00
eal_hugepages.h lib: fix doxygen typos 2019-11-19 22:03:38 +01:00
eal_internal_cfg.h config: remap flags used for Arm platforms 2020-10-13 16:35:48 +02:00
eal_memalloc.h remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
eal_memcfg.h eal: register non-EAL threads as lcores 2020-07-08 14:41:05 +02:00
eal_options.h vfio: support VF token 2020-07-07 14:06:49 +02:00
eal_private.h eal: add multiprocess disable API 2020-07-08 14:41:06 +02:00
eal_thread.h eal: add lcore iterators 2020-07-08 14:41:06 +02:00
eal_trace.h trace: increase event CTF description buffer size 2020-10-08 09:03:01 +02:00
hotplug_mp.c eal: hide internal hotplug function 2019-06-29 19:04:07 +02:00
hotplug_mp.h eal: hide internal hotplug function 2019-06-29 19:04:07 +02:00
malloc_elem.c eal: move OS common config objects 2020-06-30 00:02:53 +02:00
malloc_elem.h remove useless include of EAL memory config header 2019-10-09 10:22:24 +02:00
malloc_heap.c eal: move OS common config objects 2020-06-30 00:02:53 +02:00
malloc_heap.h mem: hide internal heap header 2019-10-27 10:39:56 +01:00
malloc_mp.c eal: hide shared memory config 2019-07-06 10:32:34 +02:00
malloc_mp.h malloc: support multiprocess memory hotplug 2018-04-11 21:45:55 +02:00
meson.build eal/windows: probe vdev 2020-09-09 14:40:41 +02:00
rte_keepalive.c keepalive: fix state alignment 2018-01-25 23:25:57 +01:00
rte_malloc.c eal/windows: implement basic memory management 2020-06-15 19:30:54 +02:00
rte_random.c build: remove deprecated cpuflag macros 2020-09-25 11:13:57 +02:00
rte_reciprocal.c eal: remove reciprocal divide license boilerplate 2019-11-28 03:12:55 +01:00
rte_service.c service: retrieve lcore active state 2020-09-21 16:37:11 +02:00