From patchwork Tue May 7 08:41:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Varghese, Vipin" X-Patchwork-Id: 53307 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0171F2BD5; Tue, 7 May 2019 10:40:49 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 1B1292BB8 for ; Tue, 7 May 2019 10:40:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 May 2019 01:40:45 -0700 X-ExtLoop1: 1 Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by orsmga004.jf.intel.com with ESMTP; 07 May 2019 01:40:42 -0700 From: Vipin Varghese To: dev@dpdk.org, marko.kovacevic@intel.com, john.mcnamara@intel.com, wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com Cc: sanjay.padubidri@intel.com, Vipin Varghese Date: Tue, 7 May 2019 14:11:12 +0530 Message-Id: <20190507084112.35296-1-vipin.varghese@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] doc/testpmd: update compile steps for bpf examples X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add the missing arguments for compiling t2.c and t3.c BPF examples. Signed-off-by: Vipin Varghese Acked-by: John McNamara --- 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 ~~~~~~~~~~