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 388FE7EE3 for ; Wed, 20 Jun 2018 09:51:33 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jun 2018 00:51:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,246,1526367600"; d="scan'208,217";a="50777938" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga008.jf.intel.com with ESMTP; 20 Jun 2018 00:51:31 -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; Wed, 20 Jun 2018 00:51:31 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 20 Jun 2018 00:51:31 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.51]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0319.002; Wed, 20 Jun 2018 15:51:29 +0800 From: "Liu, Yong" To: "Phil.Yang@arm.com" CC: "dts@dpdk.org" , nd Thread-Topic: [dts] How to disable the BOOTP and LLDP packets on tester ? Thread-Index: AdQC/wfufk/fwdfIRWKx6lGBtEod7gBiBfzgAAEY7QAA98iJgA== Date: Wed, 20 Jun 2018 07:51:29 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E630C6F6A@SHSMSX103.ccr.corp.intel.com> References: <86228AFD5BCD8E4EBFD2B90117B5E81E630C473D@SHSMSX103.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjIxMWIwMTctOGU0NC00MjIzLTgxMmItMWY4MDdmZDZlMzQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidXNxNWZCb0txcEVxTUJSc25WS2hHNG1TWXZTR1A3amFUUWdodENQRTNmVUdld1pkRmNsTklBR24wR0w2WkRTNSJ9 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_86228AFD5BCD8E4EBFD2B90117B5E81E630C6F6ASHSMSX103ccrcor_" 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: Wed, 20 Jun 2018 07:51:34 -0000 --_000_86228AFD5BCD8E4EBFD2B90117B5E81E630C6F6ASHSMSX103ccrcor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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_86228AFD5BCD8E4EBFD2B90117B5E81E630C6F6ASHSMSX103ccrcor_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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: Phi= l.Yang@arm.com [mailto:Phil.Yang@arm.com]
Sent: Friday, June 15, 2018 5:37 PM
To: 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 ?

 

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