From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50048.outbound.protection.outlook.com [40.107.5.48]) by dpdk.org (Postfix) with ESMTP id 8DC491B14C for ; Wed, 20 Jun 2018 12:04:33 +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=Dd0SNE91pVRw5+YqAvkpwoYE/5FYu3f0KLwucHrrQkI=; b=qFMUU03U8iUPm+EY+R69tgZbcJOFCnijn46OXxTMmB/PLbasjMyDyXKjXlk5SDGiaL0v0Co6jGq9nFYA7G1+xm4uywTAp/wiE12ceyTLmcXYluxXZs8ZGLt5CSJ4uvnkJuhKNesdijdQnb3hOif3E/nKkUxLwoIuwpJ8cRi3WOk= Received: from AM4PR08MB0913.eurprd08.prod.outlook.com (10.166.133.135) by AM4PR08MB2819.eurprd08.prod.outlook.com (10.171.191.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.19; Wed, 20 Jun 2018 10:04:32 +0000 Received: from AM4PR08MB0913.eurprd08.prod.outlook.com ([fe80::d09b:1aec:240d:a725]) by AM4PR08MB0913.eurprd08.prod.outlook.com ([fe80::d09b:1aec:240d:a725%2]) with mapi id 15.20.0863.016; Wed, 20 Jun 2018 10:04:31 +0000 From: Phil Yang To: "Liu, Yong" CC: "dts@dpdk.org" , nd Thread-Topic: [dts] How to disable the BOOTP and LLDP packets on tester ? Thread-Index: AdQC/wfufk/fwdfIRWKx6lGBtEod7gBiBfzgAAEY7QAA98iJgAADVl9w Date: Wed, 20 Jun 2018 10:04:31 +0000 Message-ID: References: <86228AFD5BCD8E4EBFD2B90117B5E81E630C473D@SHSMSX103.ccr.corp.intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E630C6F6A@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E630C6F6A@SHSMSX103.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; AM4PR08MB2819; 7:opVxMSgd2+sXZnStWsWmTP69TzYDqyCOqKYLeEZGn/ao6jMCiiceoHhvml8pO8G1Z8oaLJVsyIhvtjJ4eXG46pqBpzrDJzxVgaazusjWn9YoUT7IkzgLCxqYOH5fqX5HoOxdT4hEiD68Sb4I7SWIcElyyR0qOmt3l/rlsOQZFt7gi6bD4YTX+XNPqfXr03SelVkDf/q3tHppE/yHp3rAkegqG5OGvsP3DwVM60Ia0yq5DSWcN3FTq0ZvrEMZIB6X x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: f6857f7f-991f-41ce-490a-08d5d69537b6 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:AM4PR08MB2819; x-ms-traffictypediagnostic: AM4PR08MB2819: 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)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:AM4PR08MB2819; BCL:0; PCL:0; RULEID:; SRVR:AM4PR08MB2819; x-forefront-prvs: 070912876F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(346002)(376002)(366004)(39380400002)(39860400002)(396003)(189003)(199004)(2900100001)(86362001)(478600001)(33656002)(54906003)(106356001)(93886005)(66066001)(2906002)(316002)(105586002)(3280700002)(54896002)(236005)(9686003)(6436002)(14454004)(966005)(6306002)(476003)(72206003)(3660700001)(446003)(11346002)(55016002)(186003)(7696005)(25786009)(486006)(99286004)(68736007)(606006)(76176011)(6506007)(6116002)(55236004)(53546011)(81156014)(229853002)(8676002)(81166006)(4326008)(26005)(97736004)(102836004)(3846002)(790700001)(6916009)(6246003)(53936002)(74316002)(5660300001)(5890100001)(5250100002)(8936002)(7736002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR08MB2819; 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: gKTU78WBp2LOvunhoaJH9T/oQ+i3FzO+z+r6M8JOUgEiaVTV6HjGsfqd1sHsd3SH0WkzKePWUyV/4WxKDRJtavdIF+TI6PaUn3lPLn9K4rDb/EBrdW0RXaXuaOpsesKFUz/0FdliR62sQGBxfhjBKFnVPkOeaCh1/9289Cn7KPeC3/2avorMJjNLKxpxaEFLbymIgWGULT6dA0Jmuga2owt8UCLKAuu84Io+xLzk5qBOPJJVMjm7CWaNjaneU2VrsCY0o/eLw+DgsSOdrWduZTbl9F9LNwg2RIaVAr8GgznnS1pUrAL1gPHM4KcSzpFotQpO1xG2bPVzewCdpta6aw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_AM4PR08MB09132191E9339E59CF772AC1E9770AM4PR08MB0913eurp_" MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6857f7f-991f-41ce-490a-08d5d69537b6 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2018 10:04:31.4826 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR08MB2819 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: Wed, 20 Jun 2018 10:04:33 -0000 --_000_AM4PR08MB09132191E9339E59CF772AC1E9770AM4PR08MB0913eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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_AM4PR08MB09132191E9339E59CF772AC1E9770AM4PR08MB0913eurp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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: Phil.Yang@arm.com [mailto:Phil.Yan= g@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;   <------>       DUT<= /o:p>

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_AM4PR08MB09132191E9339E59CF772AC1E9770AM4PR08MB0913eurp_--