melin_dpdk/lib.rs
1//! DPDK kernel-bypass transport for the trading engine.
2//!
3//! Bypasses the Linux kernel network stack entirely by talking directly
4//! to the NIC via DPDK's userspace Poll Mode Driver (PMD). TCP/IP
5//! processing is handled by smoltcp, a userspace TCP/IP stack.
6//!
7//! # Feature flag
8//!
9//! Requires the `dpdk-sys` feature and libdpdk installed. Without the
10//! feature this crate is an empty shell, letting it live in the workspace
11//! without requiring system dependencies.
12
13#[cfg(feature = "dpdk-sys")]
14mod dpdk;
15#[cfg(feature = "dpdk-sys")]
16pub use dpdk::*;