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. Block list
- 3.1.11. Misc Functions
- 3.1.12. IOVA Mode Detection
- 3.1.13. IOVA Mode Configuration
- 3.1.14. Max SIMD bitwidth
- 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. DMA Device Library
- 21. General-Purpose Graphics Processing Unit Library
- 22. Security Library
- 23. Rawdevice Library
- 24. Link Bonding Poll Mode Driver Library
- 25. Timer Library
- 26. Hash Library
- 26.1. Hash API Overview
- 26.2. Multi-process support
- 26.3. Multi-thread support
- 26.4. Extendable Bucket Functionality support
- 26.5. Implementation Details (non Extendable Bucket Case)
- 26.6. Implementation Details (with Extendable Bucket)
- 26.7. Entry distribution in hash table
- 26.8. Use Case: Flow Classification
- 26.9. References
- 27. Toeplitz Hash Library
- 28. Elastic Flow Distributor Library
- 29. Membership Library
- 30. LPM Library
- 31. LPM6 Library
- 32. FIB Library
- 33. RIB Library
- 34. Flow Classification Library
- 35. Packet Distributor Library
- 36. Reorder Library
- 37. IP Fragmentation and Reassembly Library
- 38. Generic Receive Offload Library
- 39. Generic Segmentation Offload Library
- 40. Packet Capture Next Generation Library
- 41. Packet Capture Library
- 42. Multi-process Support
- 43. Kernel NIC Interface
- 44. Thread Safety of DPDK Functions
- 45. Event Device Library
- 46. Event Ethernet Rx Adapter Library
- 46.1. API Walk-through
- 46.1.1. Creating an Adapter Instance
- 46.1.2. Adding Rx Queues to the Adapter Instance
- 46.1.3. Querying Adapter Capabilities
- 46.1.4. Configuring the Service Function
- 46.1.5. Starting the Adapter Instance
- 46.1.6. Getting Adapter Statistics
- 46.1.7. Getting Adapter queue config
- 46.1.8. Getting and resetting Adapter queue stats
- 46.1.9. Interrupt Based Rx Queues
- 46.1.10. Rx Callback for SW Rx Adapter
- 46.1.11. Rx event vectorization
- 46.1.12. Rx event vectorization for SW Rx adapter
- 46.1. API Walk-through
- 47. Event Ethernet Tx Adapter Library
- 47.1. API Walk-through
- 47.1.1. Creating an Adapter Instance
- 47.1.2. Adding Tx Queues to the Adapter Instance
- 47.1.3. Querying Adapter Capabilities
- 47.1.4. Linking a Queue to the Adapter’s Event Port
- 47.1.5. Configuring the Service Function
- 47.1.6. Starting the Adapter Instance
- 47.1.7. Enqueuing Packets to the Adapter
- 47.1.8. Getting Adapter Statistics
- 47.1.9. Tx event vectorization
- 47.1. API Walk-through
- 48. Event Timer Adapter Library
- 49. Event Crypto Adapter Library
- 50. Quality of Service (QoS) Framework
- 51. Power Management
- 51.1. CPU Frequency Scaling
- 51.2. Core-load Throttling through C-States
- 51.3. Per-core Turbo Boost
- 51.4. Use of Power Library in a Hyper-Threaded Environment
- 51.5. API Overview of the Power Library
- 51.6. User Cases
- 51.7. Empty Poll API
- 51.8. User Cases
- 51.9. Ethernet PMD Power Management API
- 51.10. References
- 52. Packet Classification and Access Control
- 53. Packet Framework
- 54. Vhost Library
- 55. Metrics Library
- 56. Telemetry Library
- 57. Berkeley Packet Filter Library
- 58. IPsec Packet Processing Library
- 59. Graph Library and Inbuilt Nodes
- 59.1. Features
- 59.2. Advantages of Graph architecture
- 59.3. Performance tuning parameters
- 59.4. Programming model
- 59.4.1. Anatomy of Node:
- 59.4.2. Node creation and registration
- 59.4.3. Link the Nodes to create the graph topology
- 59.4.4. Create the graph object
- 59.4.5. Multicore graph processing
- 59.4.6. In fast path
- 59.4.7. Context update when graph walk in action
- 59.4.8. Get the node statistics using graph cluster
- 59.4.9. Node writing guidelines
- 59.4.10. Static nodes
- 59.4.11. Intermediate nodes
- 59.5. Graph object memory layout
- 59.6. Inbuilt Nodes
- 60. Source Organization
- 61. Installing DPDK Using the meson build system
- 62. Running DPDK Unit Tests with Meson
- 63. Building Your Own Application
- 64. Performance Optimization Guidelines
- 65. Writing Efficient Code
- 66. Link Time Optimization
- 67. Profile Your Application
- 68. Running AddressSanitizer
- 69. Glossary