numam-dpdk/lib/eal
Min Zhou 29631ee5c8 eal/loongarch: support LoongArch architecture
Add all necessary elements for DPDK to compile and run EAL on
LoongArch64 Soc.

This includes:

- EAL library implementation for LoongArch ISA.
- meson build structure for 'loongarch' architecture.
  RTE_ARCH_LOONGARCH define is added for architecture identification.
- xmm_t structure operation stubs as there is no vector support in
  the current version for LoongArch.

Compilation was tested on Debian and CentOS using loongarch64
cross-compile toolchain from x86 build hosts. Functions were tested
on Loongnix and Kylin which are two Linux distributions supported
LoongArch host based on Linux 4.19 maintained by Loongson
Corporation.

We also tested DPDK on LoongArch with some external applications,
including: Pktgen-DPDK, OVS, VPP.

The platform is currently marked as linux-only because there is no
other OS than Linux support LoongArch host currently.

The i40e PMD driver is disabled on LoongArch because of the absence
of vector support in the current version.

Similar to RISC-V, the compilation of following modules has been
disabled by this commit and will be re-enabled in later commits as
fixes are introduced:
net/ixgbe, net/memif, net/tap, example/l3fwd.

Signed-off-by: Min Zhou <zhoumin@loongson.cn>
2022-10-06 12:45:05 +02:00
..
arm eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
common service: tweak cycle statistics semantics 2022-10-05 15:44:48 +02:00
freebsd bus: cleanup devices on shutdown 2022-10-04 21:20:15 +02:00
include eal: fix return type of bsf safe functions 2022-10-06 02:26:32 +02:00
linux eal/loongarch: support LoongArch architecture 2022-10-06 12:45:05 +02:00
loongarch eal/loongarch: support LoongArch architecture 2022-10-06 12:45:05 +02:00
ppc eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
riscv eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
unix eal: remove panic on remote launch failure 2022-10-03 12:03:11 +02:00
windows bus: cleanup devices on shutdown 2022-10-04 21:20:15 +02:00
x86 eal/x86: add 256 bytes copy for AVX2 2022-09-30 11:09:25 +02:00
meson.build eal: add OS defines for C conditional checks 2022-01-17 19:26:42 +01:00
version.map malloc: remove unused function to set limit 2022-10-03 19:37:54 +02:00