go-dpdk
go-dpdk copied to clipboard
Go bindings for DPDK library.
Go bindings for DPDK framework.
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.