How amzn/amzn-drivers works
Project type and purpose
• This is an open-source driver repository for AWS network and fabric adapters.
• It contains multiple platform-specific kernel modules (Linux and FreeBSD) and a user-space DPDK driver.
• It is not a typical client/server or web application, but a set of low-level components that interact directly with hardware.
File structure
• Top-level directories:
• kernel/linux/ena, kernel/linux/efa, kernel/linux/efa_nv_peermem
• kernel/fbsd/ena
• userspace/dpdk
• Each kernel directory contains sources, headers, build scripts (Makefile, CMakeLists, config, dkms, debian/rpm packaging).
• The userspace/dpdk directory contains backports, base code, meson.build—a DPDK Poll Mode Driver (PMD) for ENA.
• Configuration files (dkms.conf, configure.sh, intercept_cc.sh) show how modules are compiled and packaged.
• Licensing and READMEs in each component provide build/install instructions.
README for additional insights
• Lists four drivers: ENA (Linux/FreeBSD), EFA (Linux), EFA peer-memory (Linux), and the DPDK ENA PMD.
Elements
• Use rectangles for modules (ena.ko, efa.ko, PMD library).
• Use parallelograms for user-space drivers (DPDK PMD).
– Kernel-space (blue), user-space (green), packaging/build (orange), hardware (gray).
• Labels: