Skip to content

Instantly share code, notes, and snippets.

@anfernee
Last active May 9, 2020 17:18
Show Gist options
  • Select an option

  • Save anfernee/e989a4feed8ee9c4eec37a86caaaf259 to your computer and use it in GitHub Desktop.

Select an option

Save anfernee/e989a4feed8ee9c4eec37a86caaaf259 to your computer and use it in GitHub Desktop.
DPDK

Overview

The DPDK implements a run to completion model for packet processing, where all resources must be allocated prior to calling Data Plane applications, running as execution units on logical processing cores. The model does not support a scheduler and all devices are accessed by polling. The primary reason for not using interrupts is the performance overhead imposed by interrupt processing.

ref: https://doc.dpdk.org/guides/prog_guide/overview.html

Core components

  • Ring Manager (librte_ring)
  • Memory Pool Manager (librte_mempool)
  • Network Packet Buffer Manager (librte_mbuf)
  • Time Manager (librte_timer)

EAL

Check Fig 3.1

Ref: https://doc.dpdk.org/guides/prog_guide/env_abstraction_layer.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment