adian98 / go-dpdk

Go bindings for DPDK library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go bindings for DPDK framework.

Documentation Go Report Card Build Status

Building apps

Starting from DPDK 21.05, pkg-config becomes the only official way to build DPDK apps. Because of it go-dpdk uses #cgo pkg-config directive to link against your DPDK distribution.

Go compiler may fail to accept some C compiler flags. You can fix it by submitting those flags to environment:

export CGO_CFLAGS_ALLOW=".*"
export CGO_LDFLAGS_ALLOW=".*"

Caveats

Only dynamic linking is viable at this point.

About

Go bindings for DPDK library.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 97.6%Language:C 1.5%Language:Shell 0.6%Language:Dockerfile 0.3%