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 80650A05D3 for ; Thu, 23 May 2019 15:47:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 833E54F91; Thu, 23 May 2019 15:47:20 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 581B8493D for ; Thu, 23 May 2019 15:47:19 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 May 2019 06:47:18 -0700 X-ExtLoop1: 1 Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by orsmga003.jf.intel.com with ESMTP; 23 May 2019 06:47:15 -0700 From: Vipin Varghese To: dev@dpdk.org, marko.kovacevic@intel.com, john.mcnamara@intel.com, thomas@monjalon.net Cc: sanjay.padubidri@intel.com, Vipin Varghese Date: Thu, 23 May 2019 19:17:44 +0530 Message-Id: <20190523134744.73755-1-vipin.varghese@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190507084112.35296-1-vipin.varghese@intel.com> References: <20190507084112.35296-1-vipin.varghese@intel.com> Subject: [dpdk-dev] [PATCH v2] 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 --- V2: - ACK for documentation - John McNamara - move to compile section - Thomas Monjalon --- 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 cb83a3ce8..88a66b9a8 100644 --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst @@ -4651,6 +4651,10 @@ For example: cd examples/bpf clang -O2 -target bpf -c t1.c +.. note:: + + To built other BPF examples, the compiler requires additional command-line options. + Then to load (and JIT compile) t1.o at RX queue 0, port 1: .. code-block:: console -- 2.17.1