From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 63385A05DC for ; Mon, 10 Jun 2019 07:40:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C42CB1BE1D; Mon, 10 Jun 2019 07:40:48 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id CE9251BE1C for ; Mon, 10 Jun 2019 07:40:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jun 2019 22:40:45 -0700 X-ExtLoop1: 1 Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by FMSMGA003.fm.intel.com with ESMTP; 09 Jun 2019 22:40:43 -0700 From: Vipin Varghese To: john.mcnamara@intel.com, marko.kovacevic@intel.com, dev@dpdk.org, thomas@monjalon.net Cc: sanjay.padubidri@intel.com, Vipin Varghese Date: Mon, 10 Jun 2019 11:11:21 +0530 Message-Id: <20190610054121.83723-1-vipin.varghese@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190523134744.73755-1-vipin.varghese@intel.com> References: <20190523134744.73755-1-vipin.varghese@intel.com> Subject: [dpdk-dev] [PATCH v3] 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 note in the missing arguments for compiling BPF examples. Signed-off-by: Vipin Varghese Acked-by: John McNamara --- V3: - update the dependency for DPDK and others - Thomas Monjalon V2: - ACK for documentation - John McNamara - move to compile section - Thomas Monjalon --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index cb83a3ce8..09cabec8c 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -4651,6 +4651,12 @@ For example: cd examples/bpf clang -O2 -target bpf -c t1.c +.. note:: + + To build DPDK based example, appropriate include and library path is to be + passed to compiler. For other examples, corresponding dependencies is to be + passed for include and libraries. + Then to load (and JIT compile) t1.o at RX queue 0, port 1: .. code-block:: console -- 2.17.1