numam-dpdk/examples/bpf
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
..
dummy.c examples/bpf: move from test directory 2019-02-26 15:29:07 +01:00
mbuf.h examples/bpf: move from test directory 2019-02-26 15:29:07 +01:00
meson.build examples/bpf: move from test directory 2019-02-26 15:29:07 +01:00
README examples/bpf: move from test directory 2019-02-26 15:29:07 +01:00
t1.c examples/bpf: move from test directory 2019-02-26 15:29:07 +01:00
t2.c examples/bpf: move from test directory 2019-02-26 15:29:07 +01:00
t3.c examples/bpf: move from test directory 2019-02-26 15:29:07 +01:00

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.