1. dpdk介绍
dpdk是 intel 公司发布的一款数据包转发处理套件. 它运行于linux userspace。这组套件包括了linux 进程所需要的大部分组件。
但缺少一个传统的tcp/ip 协议栈。其他应用程序没办法方便的通过dpdk对外通信。本文主要介绍如果移植一个TCP/IP协议栈到dpdk。
- device: ethdev, devargs,bond,KNI,PCI,PCI IDs
- memory: memseg, memzone,mempool,malloc,memcpy
- timers: cycles, timer,alarm
- locks: atomic, rwlock,spinlock