Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 2.21 KB

File metadata and controls

33 lines (30 loc) · 2.21 KB

C Source Code Layout

The C sources for the anytest DPDK application live under src/, with public headers in include/. main.c holds the application's main(): it initializes EAL, the NIC port and mbuf pool, aligns the NIC clock with the CPU TSC, handshakes with peers, and dispatches to one of the experiment modes (SENDER / RECEIVER / ROCE / RECEIVER_CUSTOM_SEQ / RP_EXP_CAPABILITY_TEST). common.h defines the shared globals, roles (NP / CP / RP), and the exp_mode enum.

The C sources under src/ fall into a few groups: