Programmer’s Guide
- 1. Introduction
- 2. Overview
- 3. Environment Abstraction Layer
- 3.1. EAL in a Linux-userland Execution Environment
- 3.1.1. Initialization and Core Launching
- 3.1.2. Shutdown and Cleanup
- 3.1.3. Multi-process Support
- 3.1.4. Memory Mapping Discovery and Memory Reservation
- 3.1.5. Support for Externally Allocated Memory
- 3.1.6. Per-lcore and Shared Variables
- 3.1.7. Logs
- 3.1.8. CPU Feature Identification
- 3.1.9. User Space Interrupt Event
- 3.1.10. Blacklisting
- 3.1.11. Misc Functions
- 3.1.12. IOVA Mode Detection
- 3.1.13. IOVA Mode Configuration
- 3.2. Memory Segments and Memory Zones (memzone)
- 3.3. Multiple pthread
- 3.4. Malloc
- 3.1. EAL in a Linux-userland Execution Environment
- 4. Service Cores
- 5. Trace Library
- 6. RCU Library
- 7. Ring Library
- 8. Stack Library
- 9. Mempool Library
- 10. Mbuf Library
- 11. Poll Mode Driver
- 12. Generic flow API (rte_flow)
- 13. Switch Representation within DPDK Applications
- 14. Traffic Metering and Policing API
- 15. Traffic Management API
- 16. Wireless Baseband Device Library
- 17. Cryptography Device Library
- 18. Compression Device Library
- 19. RegEx Device Library
- 20. Security Library
- 21. Rawdevice Library
- 22. Link Bonding Poll Mode Driver Library
- 23. Timer Library
- 24. Hash Library
- 24.1. Hash API Overview
- 24.2. Multi-process support
- 24.3. Multi-thread support
- 24.4. Extendable Bucket Functionality support
- 24.5. Implementation Details (non Extendable Bucket Case)
- 24.6. Implementation Details (with Extendable Bucket)
- 24.7. Entry distribution in hash table
- 24.8. Use Case: Flow Classification
- 24.9. References
- 25. Elastic Flow Distributor Library
- 26. Membership Library
- 27. LPM Library
- 28. LPM6 Library
- 29. Flow Classification Library
- 30. Packet Distributor Library
- 31. Reorder Library
- 32. IP Fragmentation and Reassembly Library
- 33. Generic Receive Offload Library
- 34. Generic Segmentation Offload Library
- 35. The librte_pdump Library
- 36. Multi-process Support
- 37. Kernel NIC Interface
- 38. Thread Safety of DPDK Functions
- 39. Event Device Library
- 40. Event Ethernet Rx Adapter Library
- 40.1. API Walk-through
- 40.1.1. Creating an Adapter Instance
- 40.1.2. Adding Rx Queues to the Adapter Instance
- 40.1.3. Querying Adapter Capabilities
- 40.1.4. Configuring the Service Function
- 40.1.5. Starting the Adapter Instance
- 40.1.6. Getting Adapter Statistics
- 40.1.7. Interrupt Based Rx Queues
- 40.1.8. Rx Callback for SW Rx Adapter
- 40.1. API Walk-through
- 41. Event Ethernet Tx Adapter Library
- 41.1. API Walk-through
- 41.1.1. Creating an Adapter Instance
- 41.1.2. Adding Tx Queues to the Adapter Instance
- 41.1.3. Querying Adapter Capabilities
- 41.1.4. Linking a Queue to the Adapter’s Event Port
- 41.1.5. Configuring the Service Function
- 41.1.6. Starting the Adapter Instance
- 41.1.7. Enqueuing Packets to the Adapter
- 41.1.8. Getting Adapter Statistics
- 41.1. API Walk-through
- 42. Event Timer Adapter Library
- 43. Event Crypto Adapter Library
- 44. Quality of Service (QoS) Framework
- 45. Power Management
- 46. Packet Classification and Access Control
- 47. Packet Framework
- 48. Vhost Library
- 49. Metrics Library
- 50. Telemetry Library
- 51. Berkeley Packet Filter Library
- 52. IPsec Packet Processing Library
- 53. Graph Library and Inbuilt Nodes
- 53.1. Features
- 53.2. Advantages of Graph architecture
- 53.3. Performance tuning parameters
- 53.4. Programming model
- 53.4.1. Anatomy of Node:
- 53.4.2. Node creation and registration
- 53.4.3. Link the Nodes to create the graph topology
- 53.4.4. Create the graph object
- 53.4.5. Multicore graph processing
- 53.4.6. In fast path
- 53.4.7. Context update when graph walk in action
- 53.4.8. Get the node statistics using graph cluster
- 53.4.9. Node writing guidelines
- 53.4.10. Static nodes
- 53.4.11. Intermediate nodes
- 53.5. Graph object memory layout
- 53.6. Inbuilt Nodes
- 54. Source Organization
- 55. Development Kit Build System
- 55.1. Building the Development Kit Binary
- 55.2. Building External Applications
- 55.3. Makefile Description
- 55.3.1. General Rules For DPDK Makefiles
- 55.3.2. Makefile Types
- 55.3.3. Internally Generated Build Tools
- 55.3.4. Useful Variables Provided by the Build System
- 55.3.5. Variables that Can be Set/Overridden in a Makefile Only
- 55.3.6. Variables that can be Set/Overridden by the User on the Command Line Only
- 55.3.7. Variables that Can be Set/Overridden by the User in a Makefile or Command Line
- 56. Development Kit Root Makefile Help
- 57. Installing DPDK Using the meson build system
- 58. Running DPDK Unit Tests with Meson
- 59. Building Your Own Application
- 60. External Application/Library Makefile help
- 61. Performance Optimization Guidelines
- 62. Writing Efficient Code
- 63. Link Time Optimization
- 64. Profile Your Application
- 65. Glossary