/go-dpdk

Go bindings for DPDK library.

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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.