Sign inSign up

harku/dpdk

By harku

•Updated about 1 year ago

My DPDK images. Source: https://github.com/HarkuLi/dpdk-docker.

Image
Networking
Developer tools
0

119

harku/dpdk repository overview

⁠DPDK Images

Images that contain built DPDK⁠ library for individual Ubuntu versions. An image will be tagged as:

<DPDK version>-<Ubuntu version>

For example, the image for DPDK v23.11.3 that is built on Ubuntu Jammy will be tagged as 23.11.3-jammy.

⁠NVIDIA MLX5 Common Driver

To build/use an image with MLX5 driver⁠, you must ensure that kernel modules mlx5_core, mlx5_ib, ib_uverbs have been loaded in your host.

modprobe -a mlx5_core mlx5_ib ib_uverbs

⁠Usage Example

Run Testpmd⁠ for DPDK-compatible NICs:

docker run -it --rm --privileged \
    --network host \
    -v /dev/hugepages:/dev/hugepages \
    -v /mnt/huge:/mnt/huge \
    harku/dpdk:23.11.3-jammy \
    dpdk-testpmd -l 0-3 -n 2 -- -i

Run Testpmd⁠ for eth0 interface in a container using AF_XDP PMD⁠:

docker run -it --rm --privileged \
    -v /dev/hugepages:/dev/hugepages \
    -v /mnt/huge:/mnt/huge \
    harku/dpdk:23.11.3-jammy \
    dpdk-testpmd --vdev=net_af_xdp0,iface=eth0 -l 0-3 -n 2 -- -i

Tag summary

Content type

Image

Digest

sha256:3f57904a6…

Size

246.3 MB

Last updated

about 1 year ago

docker pull harku/dpdk:23.11.3-jammy