numam-dpdk/lib/eal/linux
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
..
include eal: add missing C++ guards 2022-02-22 14:47:49 +01:00
eal_alarm.c eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
eal_cpuflags.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_dev.c bus: hide bus object 2022-09-23 16:14:34 +02:00
eal_hugepage_info.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_interrupts.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_lcore.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_log.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_memalloc.c lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
eal_memory.c eal/loongarch: support LoongArch architecture 2022-10-06 12:45:05 +02:00
eal_thread.c eal: remove unneeded header includes 2022-06-21 16:46:56 +02:00
eal_timer.c eal/linux: restore some header includes for HPET 2022-09-28 13:18:29 +02:00
eal_vfio_mp_sync.c eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
eal_vfio.c vfio: drop fallback Linux implementation 2021-11-08 16:27:15 +01:00
eal_vfio.h vfio: cleanup the multiprocess sync handle 2022-02-11 19:49:22 +01:00
eal.c bus: cleanup devices on shutdown 2022-10-04 21:20:15 +02:00
meson.build eal/unix: make stack dump signal safe 2022-06-23 13:40:50 +02:00