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. 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. Toeplitz Hash Library
- 26. Elastic Flow Distributor Library
- 27. Membership Library
- 28. LPM Library
- 29. LPM6 Library
- 30. Flow Classification Library
- 31. Packet Distributor Library
- 32. Reorder Library
- 33. IP Fragmentation and Reassembly Library
- 34. Generic Receive Offload Library
- 35. Generic Segmentation Offload Library
- 36. The librte_pdump Library
- 37. Multi-process Support
- 38. Kernel NIC Interface
- 39. Thread Safety of DPDK Functions
- 40. Event Device Library
- 41. Event Ethernet Rx Adapter Library
- 41.1. API Walk-through
- 41.1.1. Creating an Adapter Instance
- 41.1.2. Adding Rx Queues to the Adapter Instance
- 41.1.3. Querying Adapter Capabilities
- 41.1.4. Configuring the Service Function
- 41.1.5. Starting the Adapter Instance
- 41.1.6. Getting Adapter Statistics
- 41.1.7. Interrupt Based Rx Queues
- 41.1.8. Rx Callback for SW Rx Adapter
- 41.1.9. Rx event vectorization
- 41.1.10. Rx event vectorization for SW Rx adapter
- 41.1. API Walk-through
- 42. Event Ethernet Tx Adapter Library
- 42.1. API Walk-through
- 42.1.1. Creating an Adapter Instance
- 42.1.2. Adding Tx Queues to the Adapter Instance
- 42.1.3. Querying Adapter Capabilities
- 42.1.4. Linking a Queue to the Adapter’s Event Port
- 42.1.5. Configuring the Service Function
- 42.1.6. Starting the Adapter Instance
- 42.1.7. Enqueuing Packets to the Adapter
- 42.1.8. Getting Adapter Statistics
- 42.1.9. Tx event vectorization
- 42.1. API Walk-through
- 43. Event Timer Adapter Library
- 44. Event Crypto Adapter Library
- 45. Quality of Service (QoS) Framework
- 46. Power Management
- 46.1. CPU Frequency Scaling
- 46.2. Core-load Throttling through C-States
- 46.3. Per-core Turbo Boost
- 46.4. Use of Power Library in a Hyper-Threaded Environment
- 46.5. API Overview of the Power Library
- 46.6. User Cases
- 46.7. Empty Poll API
- 46.8. User Cases
- 46.9. Ethernet PMD Power Management API
- 46.10. References
- 47. Packet Classification and Access Control
- 48. Packet Framework
- 49. Vhost Library
- 50. Metrics Library
- 51. Telemetry Library
- 52. Berkeley Packet Filter Library
- 53. IPsec Packet Processing Library
- 54. Graph Library and Inbuilt Nodes
- 54.1. Features
- 54.2. Advantages of Graph architecture
- 54.3. Performance tuning parameters
- 54.4. Programming model
- 54.4.1. Anatomy of Node:
- 54.4.2. Node creation and registration
- 54.4.3. Link the Nodes to create the graph topology
- 54.4.4. Create the graph object
- 54.4.5. Multicore graph processing
- 54.4.6. In fast path
- 54.4.7. Context update when graph walk in action
- 54.4.8. Get the node statistics using graph cluster
- 54.4.9. Node writing guidelines
- 54.4.10. Static nodes
- 54.4.11. Intermediate nodes
- 54.5. Graph object memory layout
- 54.6. Inbuilt Nodes
- 55. Source Organization
- 56. Installing DPDK Using the meson build system
- 57. Running DPDK Unit Tests with Meson
- 58. Building Your Own Application
- 59. Performance Optimization Guidelines
- 60. Writing Efficient Code
- 61. Link Time Optimization
- 62. Profile Your Application
- 63. Glossary