From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id B00DA2C2B for ; Fri, 10 May 2019 03:41:39 +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 fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2019 18:41:38 -0700 X-ExtLoop1: 1 Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 09 May 2019 18:41:38 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 9 May 2019 18:41:38 -0700 Received: from bgsmsx105.gar.corp.intel.com (10.223.43.197) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 9 May 2019 18:41:38 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.217]) by BGSMSX105.gar.corp.intel.com ([169.254.3.180]) with mapi id 14.03.0415.000; Fri, 10 May 2019 07:11:35 +0530 From: "Varghese, Vipin" To: Thomas Monjalon CC: "dev@dpdk.org" , "Kovacevic, Marko" , "Mcnamara, John" , "Lu, Wenzhuo" , "Wu, Jingjing" , "Iremonger, Bernard" , "Padubidri, Sanjay A" , "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH] doc/testpmd: update compile steps for bpf examples Thread-Index: AQHVBLCXcf5lLxYLXU62cATLRsZF/aZjCF4AgACQzHA= Date: Fri, 10 May 2019 01:41:34 +0000 Message-ID: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D34320A@BGSMSX101.gar.corp.intel.com> References: <20190507084112.35296-1-vipin.varghese@intel.com> <67739198.mN8PHIGBQv@xps> In-Reply-To: <67739198.mN8PHIGBQv@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGVhY2E0ZDAtMzUyYS00MzRlLWI1YjYtMGFlZDc1YTIwMzZkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSlF2N3MzXC8rWnBDNGdjMjR4VTd5MW1KYmpKRkNuM05tUXYrK3RZdytBQ1p2OVErRWlwblh0S1N4bzltb1dXRk8ifQ== dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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: , X-List-Received-Date: Fri, 10 May 2019 01:41:40 -0000 snipped >=20 > 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 lib= rary path as > compiler options. >=20 > This note should be below the compilation command. I agree, I will make the change. > When adding more BPF examples, it will be easily outdated. Thanks, can we get some update on BPF examples. Reasoning, we are planning = to add dpdk-example specific BPF code but not in test/bpf. > We could say "to build other examples, more arguments may be required". > About the compiler options, I suggest to name them: -I, -L? Sure >=20 >=20 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 1E300A0096 for ; Fri, 10 May 2019 03:41:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 676C63977; Fri, 10 May 2019 03:41:40 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id B00DA2C2B for ; Fri, 10 May 2019 03:41:39 +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 fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2019 18:41:38 -0700 X-ExtLoop1: 1 Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 09 May 2019 18:41:38 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 9 May 2019 18:41:38 -0700 Received: from bgsmsx105.gar.corp.intel.com (10.223.43.197) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 9 May 2019 18:41:38 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.217]) by BGSMSX105.gar.corp.intel.com ([169.254.3.180]) with mapi id 14.03.0415.000; Fri, 10 May 2019 07:11:35 +0530 From: "Varghese, Vipin" To: Thomas Monjalon CC: "dev@dpdk.org" , "Kovacevic, Marko" , "Mcnamara, John" , "Lu, Wenzhuo" , "Wu, Jingjing" , "Iremonger, Bernard" , "Padubidri, Sanjay A" , "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH] doc/testpmd: update compile steps for bpf examples Thread-Index: AQHVBLCXcf5lLxYLXU62cATLRsZF/aZjCF4AgACQzHA= Date: Fri, 10 May 2019 01:41:34 +0000 Message-ID: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D34320A@BGSMSX101.gar.corp.intel.com> References: <20190507084112.35296-1-vipin.varghese@intel.com> <67739198.mN8PHIGBQv@xps> In-Reply-To: <67739198.mN8PHIGBQv@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGVhY2E0ZDAtMzUyYS00MzRlLWI1YjYtMGFlZDc1YTIwMzZkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSlF2N3MzXC8rWnBDNGdjMjR4VTd5MW1KYmpKRkNuM05tUXYrK3RZdytBQ1p2OVErRWlwblh0S1N4bzltb1dXRk8ifQ== dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Message-ID: <20190510014134.zA_TCFoqRNYzd7KgYZ79-ob17Z4rYP9Zxk_8PaJe79k@z> snipped >=20 > 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 lib= rary path as > compiler options. >=20 > This note should be below the compilation command. I agree, I will make the change. > When adding more BPF examples, it will be easily outdated. Thanks, can we get some update on BPF examples. Reasoning, we are planning = to add dpdk-example specific BPF code but not in test/bpf. > We could say "to build other examples, more arguments may be required". > About the compiler options, I suggest to name them: -I, -L? Sure >=20 >=20