From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <vipin.varghese@intel.com>
Received: from mga01.intel.com (mga01.intel.com [192.55.52.88])
 by dpdk.org (Postfix) with ESMTP id B00DA2C2B
 for <dev@dpdk.org>; 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" <vipin.varghese@intel.com>
To: Thomas Monjalon <thomas@monjalon.net>
CC: "dev@dpdk.org" <dev@dpdk.org>, "Kovacevic, Marko"
 <marko.kovacevic@intel.com>, "Mcnamara, John" <john.mcnamara@intel.com>,
 "Lu, Wenzhuo" <wenzhuo.lu@intel.com>, "Wu, Jingjing" <jingjing.wu@intel.com>, 
 "Iremonger, Bernard" <bernard.iremonger@intel.com>, "Padubidri, Sanjay A"
 <sanjay.padubidri@intel.com>, "Ananyev, Konstantin"
 <konstantin.ananyev@intel.com>
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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=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: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id 1E300A0096
	for <public@inbox.dpdk.org>; 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 <dev@dpdk.org>; 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" <vipin.varghese@intel.com>
To: Thomas Monjalon <thomas@monjalon.net>
CC: "dev@dpdk.org" <dev@dpdk.org>, "Kovacevic, Marko"
 <marko.kovacevic@intel.com>, "Mcnamara, John" <john.mcnamara@intel.com>,
 "Lu, Wenzhuo" <wenzhuo.lu@intel.com>, "Wu, Jingjing" <jingjing.wu@intel.com>, 
 "Iremonger, Bernard" <bernard.iremonger@intel.com>, "Padubidri, Sanjay A"
 <sanjay.padubidri@intel.com>, "Ananyev, Konstantin"
 <konstantin.ananyev@intel.com>
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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>
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