[dpdk-dev] [PATCH] doc/testpmd: update compile steps for bpf examples
Thomas Monjalon
thomas at monjalon.net
Fri May 10 00:31:42 CEST 2019
07/05/2019 10:41, Vipin Varghese:
> --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> @@ -4657,6 +4657,10 @@ To load (not JITed) t1.o at TX queue 0, port 0::
>
> testpmd> bpf-load tx 0 0 - ./dpdk.org/examples/bpf/t1.o
>
> +.. note::
> +
> + In order to build t2.c and t3.c; pass DPDK target's include and library path as compiler options.
This note should be below the compilation command.
When adding more BPF examples, it will be easily outdated.
We could say "to build other examples, more arguments may be required".
About the compiler options, I suggest to name them: -I, -L?
More information about the dev
mailing list