[dpdk-dev] [PATCH] doc/testpmd: update compile steps for bpf examples

Vipin Varghese vipin.varghese at intel.com
Tue May 7 10:41:12 CEST 2019


Add the missing arguments for compiling t2.c and t3.c BPF examples.

Signed-off-by: Vipin Varghese <vipin.varghese at intel.com>
---
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index 89d494c5b..d9023ab02 100644
--- 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.
+
 bpf-unload
 ~~~~~~~~~~
 
-- 
2.17.1



More information about the dev mailing list