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. Security Library
- 20. Rawdevice Library
- 21. Link Bonding Poll Mode Driver Library
- 22. Timer Library
- 23. Hash Library
- 23.1. Hash API Overview
- 23.2. Multi-process support
- 23.3. Multi-thread support
- 23.4. Extendable Bucket Functionality support
- 23.5. Implementation Details (non Extendable Bucket Case)
- 23.6. Implementation Details (with Extendable Bucket)
- 23.7. Entry distribution in hash table
- 23.8. Use Case: Flow Classification
- 23.9. References
- 24. Elastic Flow Distributor Library
- 25. Membership Library
- 26. LPM Library
- 27. LPM6 Library
- 28. Flow Classification Library
- 29. Packet Distributor Library
- 30. Reorder Library
- 31. IP Fragmentation and Reassembly Library
- 32. Generic Receive Offload Library
- 33. Generic Segmentation Offload Library
- 34. The librte_pdump Library
- 35. Multi-process Support
- 36. Kernel NIC Interface
- 37. Thread Safety of DPDK Functions
- 38. Event Device Library
- 39. Event Ethernet Rx Adapter Library
- 39.1. API Walk-through
- 39.1.1. Creating an Adapter Instance
- 39.1.2. Adding Rx Queues to the Adapter Instance
- 39.1.3. Querying Adapter Capabilities
- 39.1.4. Configuring the Service Function
- 39.1.5. Starting the Adapter Instance
- 39.1.6. Getting Adapter Statistics
- 39.1.7. Interrupt Based Rx Queues
- 39.1.8. Rx Callback for SW Rx Adapter
- 39.1. API Walk-through
- 40. Event Ethernet Tx Adapter Library
- 40.1. API Walk-through
- 40.1.1. Creating an Adapter Instance
- 40.1.2. Adding Tx Queues to the Adapter Instance
- 40.1.3. Querying Adapter Capabilities
- 40.1.4. Linking a Queue to the Adapter’s Event Port
- 40.1.5. Configuring the Service Function
- 40.1.6. Starting the Adapter Instance
- 40.1.7. Enqueuing Packets to the Adapter
- 40.1.8. Getting Adapter Statistics
- 40.1. API Walk-through
- 41. Event Timer Adapter Library
- 42. Event Crypto Adapter Library
- 43. Quality of Service (QoS) Framework
- 44. Power Management
- 45. Packet Classification and Access Control
- 46. Packet Framework
- 47. Vhost Library
- 48. Metrics Library
- 49. Telemetry Library
- 50. Berkeley Packet Filter Library
- 51. IPsec Packet Processing Library
- 52. Graph Library and Inbuilt Nodes
- 52.1. Features
- 52.2. Advantages of Graph architecture
- 52.3. Performance tuning parameters
- 52.4. Programming model
- 52.4.1. Anatomy of Node:
- 52.4.2. Node creation and registration
- 52.4.3. Link the Nodes to create the graph topology
- 52.4.4. Create the graph object
- 52.4.5. Multicore graph processing
- 52.4.6. In fast path
- 52.4.7. Context update when graph walk in action
- 52.4.8. Get the node statistics using graph cluster
- 52.4.9. Node writing guidelines
- 52.4.10. Static nodes
- 52.4.11. Intermediate nodes
- 52.5. Graph object memory layout
- 52.6. Inbuilt Nodes
- 53. Source Organization
- 54. Development Kit Build System
- 54.1. Building the Development Kit Binary
- 54.2. Building External Applications
- 54.3. Makefile Description
- 54.3.1. General Rules For DPDK Makefiles
- 54.3.2. Makefile Types
- 54.3.3. Internally Generated Build Tools
- 54.3.4. Useful Variables Provided by the Build System
- 54.3.5. Variables that Can be Set/Overridden in a Makefile Only
- 54.3.6. Variables that can be Set/Overridden by the User on the Command Line Only
- 54.3.7. Variables that Can be Set/Overridden by the User in a Makefile or Command Line
- 55. Development Kit Root Makefile Help
- 56. Installing DPDK Using the meson build system
- 57. Running DPDK Unit Tests with Meson
- 58. Extending the DPDK
- 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