numam-dpdk/app
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
..
pdump build: remove makefiles 2020-09-08 00:09:50 +02:00
proc-info app/procinfo: close devices before exit 2020-10-06 22:00:35 +02:00
test config: remap flags used for Arm platforms 2020-10-13 16:35:48 +02:00
test-acl build: remove makefiles 2020-09-08 00:09:50 +02:00
test-bbdev support python 3 only 2020-10-02 13:51:00 +02:00
test-cmdline support python 3 only 2020-10-02 13:51:00 +02:00
test-compress-perf build: remove makefiles 2020-09-08 00:09:50 +02:00
test-crypto-perf build: remove makefiles 2020-09-08 00:09:50 +02:00
test-eventdev build: remove makefiles 2020-09-08 00:09:50 +02:00
test-fib build: remove makefiles 2020-09-08 00:09:50 +02:00
test-flow-perf app/flow-perf: allow fixed values for actions 2020-09-18 18:55:11 +02:00
test-pipeline app: use new link status print format 2020-09-21 18:05:37 +02:00
test-pmd app/testpmd: add FEC command 2020-10-09 13:17:43 +02:00
test-regex build: remove makefiles 2020-09-08 00:09:50 +02:00
test-sad build: remove makefiles 2020-09-08 00:09:50 +02:00
meson.build app/regex: add RegEx test application 2020-07-30 09:13:52 +02:00