From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60060.outbound.protection.outlook.com [40.107.6.60]) by dpdk.org (Postfix) with ESMTP id 16B031B5FB; Thu, 21 Jun 2018 08:01:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wQTgqv+ItXIYg3Q6wWzjhiYRG1abcUWkwNj4SFfPFlE=; b=f5RVEnyifmASsN0tMymKOqWTzj7s5etSQqKEfTlGf4Ew7mvI03YHb9Phnum1UtZA8jAzLTFAz2nbTXFzcSWQyzqO+4t2LxpLhXpU7oVc+vrKf+Qy43TKAc6gPwOyRlMgrtfcB1YJZeo1G0nRoiUqouesNg87XWqLv+Wjccu+oaY= Received: from AM4PR08MB0913.eurprd08.prod.outlook.com (10.166.133.135) by AM4PR08MB0916.eurprd08.prod.outlook.com (10.166.133.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.17; Thu, 21 Jun 2018 06:01:19 +0000 Received: from AM4PR08MB0913.eurprd08.prod.outlook.com ([fe80::391d:4964:3a4a:6ad7]) by AM4PR08MB0913.eurprd08.prod.outlook.com ([fe80::391d:4964:3a4a:6ad7%4]) with mapi id 15.20.0884.010; Thu, 21 Jun 2018 06:01:19 +0000 From: Phil Yang To: "Xu, Qian Q" , dts , "Liu, Yong" CC: "dts@dpdk.org" , nd Thread-Topic: [dts] How to disable the BOOTP and LLDP packets on tester ? Thread-Index: AdQC/wfufk/fwdfIRWKx6lGBtEod7gBiBfzgAAEY7QAA98iJgAADVl9wAApwlIAAHAWE0A== Date: Thu, 21 Jun 2018 06:01:19 +0000 Message-ID: References: <86228AFD5BCD8E4EBFD2B90117B5E81E630C473D@SHSMSX103.ccr.corp.intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E630C6F6A@SHSMSX103.ccr.corp.intel.com> <82F45D86ADE5454A95A89742C8D1410E3BB088A5@shsmsx102.ccr.corp.intel.com> In-Reply-To: <82F45D86ADE5454A95A89742C8D1410E3BB088A5@shsmsx102.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Phil.Yang@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM4PR08MB0916; 7:VqsmjeyFQvnmCDVQ2F3GWMG/OienLxvh1EfPDkEFI0ZmZzVSWbeYZpaTUSHu1KnRJr49Sh4upVWS25K2ZsJ1HkAyrrGZqmg6nVN0Bfm75y84av7PxYhYjif7S7vKSbeD4H4tI7nuTOEVpv/SC1OdnM2a0N1gzRJRPYu+zQwG8C3lvsiV6O5MaY7zvK+qWEYNkqG5iuqEj5AjW4YD0fIh/IWsJ9EtbkneBXQNFgTFJ0SvbyJJRCJS86BM/WPXoH5T x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: c526d081-0004-4016-5db9-08d5d73c68b6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:AM4PR08MB0916; x-ms-traffictypediagnostic: AM4PR08MB0916: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(180628864354917)(235228084354710)(21748063052155)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231254)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:AM4PR08MB0916; BCL:0; PCL:0; RULEID:; SRVR:AM4PR08MB0916; x-forefront-prvs: 07106EF9B9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(376002)(39380400002)(396003)(346002)(189003)(199004)(5250100002)(316002)(66066001)(5890100001)(72206003)(7696005)(76176011)(86362001)(966005)(59450400001)(8936002)(11346002)(446003)(476003)(110136005)(53546011)(6506007)(54906003)(102836004)(55236004)(14454004)(478600001)(97736004)(26005)(486006)(93886005)(229853002)(6306002)(236005)(54896002)(55016002)(6246003)(2906002)(606006)(2900100001)(186003)(99286004)(9686003)(25786009)(105586002)(106356001)(6436002)(4326008)(3846002)(6116002)(790700001)(81156014)(81166006)(68736007)(33656002)(74316002)(7736002)(8676002)(53936002)(3280700002)(3660700001)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR08MB0916; H:AM4PR08MB0913.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: pA4bH025GTpZCFvIRPdhy0vVCtFRcy3BvwNhqVzDSVSbVLNk3/utWNsMZExh/Sje0TMf97anThrLcqbkjh409mEbdtFnnIlfPBb7qh/hgq1uVJLK4po3rwVWR4gKTOGGjYAimGPuFmiAWFwxEWvJ7DMlDuy/Q3Ta/PBmkcfF8T7dpZxGPeHfJuG0u0Q+362zOAM3k0fSD1hYEqKc7dHM88oYVg6ocRSrRKOA4UzAkYZdi7T+6IUNOiEVz7bAfCFOogpoTcALS2F6jTu7R/J+ijAzgrOC/rCT3KQjl1+H9QgkcFX6VCc3U/TmX4gq1fDUemHiy/0Gca8ig/ownF8sUA== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_AM4PR08MB0913EBA0EADF714BE00656DBE9760AM4PR08MB0913eurp_" MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: c526d081-0004-4016-5db9-08d5d73c68b6 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2018 06:01:19.6178 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR08MB0916 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 06:01:21 -0000 --_000_AM4PR08MB0913EBA0EADF714BE00656DBE9760AM4PR08MB0913eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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_AM4PR08MB0913EBA0EADF714BE00656DBE9760AM4PR08MB0913eurp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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.c= om>
Cc: dts@dpdk.org; nd <nd@arm.com>; Xu, Qian Q <qian.q.xu@in= tel.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_AM4PR08MB0913EBA0EADF714BE00656DBE9760AM4PR08MB0913eurp_--