numam-dpdk/examples/bpf/README
Bruce Richardson 25d11a86c5 examples/bpf: move from test directory
The bpf folder didn't actual contain a test application, but instead
basic examples of BPF code for use with testpmd. Therefore we can
move it to the `examples` folder. Being different, it also needs
a README with it, explaining what it is and how to use it. References
to the code from the testpmd docs are suitably updated.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2019-02-26 15:29:07 +01:00

9 lines
394 B
Plaintext

This folder contains example BPF programs for use with the DPDK bpf
library. To get details of each program and how to compile it, see
the header on the '.c' file itself.
Once compiled, these example programs can be loaded into `testpmd`
for execution on a packet stream. See `bpf-load` and `bpf-unload`
commands documented in the `Testpmd Application User Guide` for
details on how to do so.