go-dpdk

module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2022 License: BSD-3-Clause

README

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.

Directories

Path Synopsis
app
Package common contains basic routines needed by other modules in go-dpdk package.
Package common contains basic routines needed by other modules in go-dpdk package.
Package eal wraps EAL initialization and provides some additional functionality on top of that.
Package eal wraps EAL initialization and provides some additional functionality on top of that.
Package ethdev wraps RTE Ethernet Device API.
Package ethdev wraps RTE Ethernet Device API.
flow
Package flow encaps RTE generic flow API.
Package flow encaps RTE generic flow API.
Package hash wraps RTE hash libraries.
Package hash wraps RTE hash libraries.
Package lcore allows to control execution of user-supplied functions on specified logical CPU core.
Package lcore allows to control execution of user-supplied functions on specified logical CPU core.
Package lpm wraps RTE LPM library.
Package lpm wraps RTE LPM library.
Package mempool wraps RTE mempool library.
Package mempool wraps RTE mempool library.
Package memzone wraps RTE memzone library.
Package memzone wraps RTE memzone library.
Package ring wraps RTE ring library.
Package ring wraps RTE ring library.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL