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 26E581BB4D; Thu, 21 Jun 2018 10:56:20 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jun 2018 01:56:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,251,1526367600"; d="scan'208,217";a="66444980" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 21 Jun 2018 01:56:19 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 21 Jun 2018 01:56:19 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 21 Jun 2018 01:56:18 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.223]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.87]) with mapi id 14.03.0319.002; Thu, 21 Jun 2018 16:55:49 +0800 From: "Xu, Qian Q" To: "Phil.Yang@arm.com" , dts , "Liu, Yong" CC: "dts@dpdk.org" , nd Thread-Topic: [dts] How to disable the BOOTP and LLDP packets on tester ? Thread-Index: AQHUBIfqhqmwSXMBikydy06bXRm2i6RgibEAgAe+IYCAACUrgIAAzFJggACCEICAAI1OUA== Date: Thu, 21 Jun 2018 08:55:49 +0000 Message-ID: <82F45D86ADE5454A95A89742C8D1410E3BB0B499@shsmsx102.ccr.corp.intel.com> References: <86228AFD5BCD8E4EBFD2B90117B5E81E630C473D@SHSMSX103.ccr.corp.intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E630C6F6A@SHSMSX103.ccr.corp.intel.com> <82F45D86ADE5454A95A89742C8D1410E3BB088A5@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjBiN2VmYjgtNTY2Yy00ZTY1LWFlNTItNWFlN2Y4NDdmNmY3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTnpNeFwvUU5nVVlmWUJlenRjWElDTE1TTkNTUkF6djRhY01ueXNJUTl1U2JnV2dDZVNrKzhiZUN3T05qWVhVTVgifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: multipart/alternative; boundary="_000_82F45D86ADE5454A95A89742C8D1410E3BB0B499shsmsx102ccrcor_" MIME-Version: 1.0 Subject: Re: [dts] How to disable the BOOTP and LLDP packets on tester ? X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2018 08:56:22 -0000 --_000_82F45D86ADE5454A95A89742C8D1410E3BB0B499shsmsx102ccrcor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sorry we are not experts about the firmware difference. We need make sure NIC firmware version matched with dpdk version. We will s= how the tested platform/NIC versions in dpdk.org release notes. From: Phil.Yang@arm.com [mailto:Phil.Yang@arm.com] Sent: Thursday, June 21, 2018 2:01 PM To: Xu, Qian Q ; dts ; Liu, Yong= Cc: dts@dpdk.org; nd Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ? Thanks for your reminder. I can bind this old firmware x710 NIC on my Tester. BTW, I found the firmware boundaries are 4.33 and 4.40 in i40e_main.c. What= 's the main gap for x710 6.0 firmware and 4.41 firmware? Thanks, Phil Yang From: dts > On Behalf Of = Xu, Qian Q Sent: Wednesday, June 20, 2018 10:20 PM To: dts >; Liu, Yong > Cc: dts@dpdk.org; nd >; = Xu, Qian Q > Subject: Re: [dts] How to disable the BOOTP and LLDP packets on tester ? X710 firmware=3D4.41 is too old to use, currently we all used X710 with fir= mware 6.01 http://doc.dpdk.org/guides/rel_notes/release_18_05.html#tested-platforms From: dts [mailto:dts-bounces@dpdk.org] Sent: Wednesday, June 20, 2018 6:05 PM To: Liu, Yong > Cc: dts@dpdk.org; nd > Subject: Re: [dts] How to disable the BOOTP and LLDP packets on tester ? I really appreciate your help, Marvin. The firmware for XX710 is firmware=3D6.01 and for 82599ES is firmware=3D0x6= 1b20001 and for X710 is firmware=3D4.41. Just as you mentioned, debugfs can only work on x710 firmware=3D4.41. Thanks, Phil Yang From: Liu, Yong > Sent: Wednesday, June 20, 2018 3:51 PM To: Phil Yang > Cc: dts@dpdk.org; nd > Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ? Hi Phil, Just both debugfs and hard-coded code will call the same function i40e_aq_s= top_lldp at the end. So I think if firmware version is 6.x, still can't disable LLDP by debugfs. And In my mind, we do not have user manual for NIC configuration. Most of = time, we get the such information from code :) Thanks, Marvin From: Phil.Yang@arm.com [mailto:Phil.Yang@arm.com= ] Sent: Friday, June 15, 2018 5:37 PM To: Liu, Yong > Cc: dts@dpdk.org; nd > Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ? Hi Marvin, Thanks for your guidance. I got some tips from serverfault.com, so do you have some manual for Intel = NIC runtime configuration? https://serverfault.com/questions/775980/disable-internal-intel-x710-lldp-a= gent?utm_medium=3Dorganic&utm_source=3Dgoogle_rich_qa&utm_campaign=3Dgoogle= _rich_qa Thanks, Phil Yang From: Liu, Yong > Sent: Friday, June 15, 2018 5:04 PM To: Phil Yang > Cc: dts@dpdk.org; nd > Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ? Phil, BOOTP is the packets sent by dhcp client. You can check whether Network-man= ager or dhcp client running in the background. For LLDP packet, FVL with firmware6.0 can't disable it. If FVL with firmwar= e 5.X or lower version, you can disable it in i40e driver. i40e_main.c //pf->hw_features |=3D I40E_HW_STOP_FW_LLDP; Thanks, Marvin From: Phil.Yang@arm.com [mailto:Phil.Yang@arm.com= ] Sent: Wednesday, June 13, 2018 6:13 PM To: Liu, Yong > Cc: dts@dpdk.org; nd > Subject: [dts] How to disable the BOOTP and LLDP packets on tester ? Hi Marvin, I captured groups of bootp and LLDP packets while running DTS on DUT PMD. My environment: Application: l2fwd DUT NIC: 82599ES Tester NIC: X710 Link: Tester <------> DUT X710 port A <-------> 82599ES port A X710 port B <-------> 82599ES port B Please check the attachment. Thanks. How to disable the BOOTP and LLDP packets on tester ? Ps: I didn't find lldpd service running on my tester. Best Regards, Phil Yang --_000_82F45D86ADE5454A95A89742C8D1410E3BB0B499shsmsx102ccrcor_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Sorry we are not exper= ts about the firmware difference.

We need make sure NIC = firmware version matched with dpdk version. We will show the tested platfor= m/NIC versions in dpdk.org release notes.

 

From: Phi= l.Yang@arm.com [mailto:Phil.Yang@arm.com]
Sent: Thursday, June 21, 2018 2:01 PM
To: Xu, Qian Q <qian.q.xu@intel.com>; dts <dts-bounces@dpdk= .org>; Liu, Yong <yong.liu@intel.com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on test= er ?

 

Thanks for your reminder.

I can bind this old firmware x710 NIC on my Tester. =

 

BTW, I found the firmware boundaries are 4.33 and 4.= 40 in i40e_main.c. What’s the main gap for x710 6.0 firmware and 4.41= firmware?

 

Thanks,

Phil Yang

 

From: dts <dts-bounces@dpdk.org> On Behalf Of Xu, Qian Q
Sent: Wednesday, June 20, 2018 10:20 PM
To: dts <dts-bounces@dpdk= .org>; Liu, Yong <yong.liu@= intel.com>
Cc: dts@dpdk.org; nd <nd@arm.com>; Xu, Qian Q <qian.q.xu@intel.com>
Subject: Re: [dts] How to disable the BOOTP and LLDP packets on test= er ?

 

X710 firmware=3D4.41 i= s too old to use, currently we all used X710 with firmware 6.01<= /span>

http://doc.dpdk.org/guides/rel_notes/relea= se_18_05.html#tested-platforms=

 

 

From: dts [mailto:dts-bounces@dpdk.org]
Sent: Wednesday, June 20, 2018 6:05 PM
To: Liu, Yong <yong.liu@int= el.com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: Re: [dts] How to disable the BOOTP and LLDP packets on test= er ?

 

I really appreciate your help, Marvin.

 

The firmware for XX710 is firmware=3D6.01 and for 82= 599ES is firmware=3D0x61b20001 and for X710 is firmware=3D4.41.<= /p>

Just as you mentioned, debugfs can only work on x710= firmware=3D4.41.

 

Thanks,

Phil Yang

 

From: Liu, Yong <yong.liu@intel.com>
Sent: Wednesday, June 20, 2018 3:51 PM
To: Phil Yang <Phil.Yang@arm= .com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on test= er ?

 

Hi Phil,

Just both debugfs and = hard-coded code will call the same function i40e_aq_stop_lldp at the end.

So I think if firmware= version is 6.x, still can’t disable LLDP by debugfs.  

And In my mind, we do = not have user manual for NIC configuration.  Most of time, we get the = such information from code J

 

Thanks,

Marvin

 

From: Ph= il.Yang@arm.com [mailto:Phil.Yang@= arm.com]
Sent: Friday, June 15, 2018 5:37 PM
To: Liu, Yong <yong.liu@int= el.com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on test= er ?

 

Hi Marvin,

 

Thanks for your guidance.

 

I got some tips from serverfault.com, so do you have= some manual for Intel NIC runtime configuration?

https://serverfault.co= m/questions/775980/disable-internal-intel-x710-lldp-agent?utm_medium=3Dorga= nic&utm_source=3Dgoogle_rich_qa&utm_campaign=3Dgoogle_rich_qa

 

 

Thanks,

Phil Yang

 

From: Liu, Yong <yong.liu@intel.com>
Sent: Friday, June 15, 2018 5:04 PM
To: Phil Yang <Phil.Yang@arm= .com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on test= er ?

 

Phil,

BOOTP is the packets s= ent by dhcp client. You can check whether Network-manager or dhcp client ru= nning in the background.

For LLDP packet, FVL w= ith firmware6.0 can’t disable it. If FVL with firmware 5.X or lower v= ersion, you can disable it in i40e driver.

 

i40e_main.c

//pf->hw_features |=3D I40E_HW_STOP_FW_LLDP;

 

Thanks,

Marvin

 

From: Ph= il.Yang@arm.com [mailto:Phil.Yang@= arm.com]
Sent: Wednesday, June 13, 2018 6:13 PM
To: Liu, Yong <yong.liu@int= el.com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: [dts] How to disable the BOOTP and LLDP packets on tester ?=

 

Hi Marvin,

 

I captured groups of bootp and LLDP packets while ru= nning DTS on DUT PMD.

 

My environment:

Application: l2fwd

DUT NIC: 82599ES

Tester NIC: X710

Link:

Tester    &nbs= p;      <------>     &nb= sp; DUT

X710 port A <-------> 82599E= S port A

X710 port B <-------> 82599E= S port B  

 

Please check the attachment. Thanks.

 

How to disable the BOOTP and LLDP packets on tester&= nbsp;?

Ps: I didn’t find lldpd service running on my = tester.

 

Best Regards,

Phil Yang

--_000_82F45D86ADE5454A95A89742C8D1410E3BB0B499shsmsx102ccrcor_--