From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id C802B2BE2 for ; Thu, 2 Aug 2018 04:16:32 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Aug 2018 19:16:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,434,1526367600"; d="scan'208,217";a="59017336" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga007.fm.intel.com with ESMTP; 01 Aug 2018 19:16:27 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 1 Aug 2018 19:16:27 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.100]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.57]) with mapi id 14.03.0319.002; Thu, 2 Aug 2018 10:16:24 +0800 From: "Zhang, Qi Z" To: Chas Williams <3chas3@gmail.com> CC: "dev@dpdk.org" , "Xing, Beilei" , Chas Williams Thread-Topic: [PATCH] net/i40e: stop lldp before setting local lldp MIB Thread-Index: AQHUKU03ItVmEoQkWEOTJBSKgdyYmaSq7IwQ//+UIoCAAS52MA== Date: Thu, 2 Aug 2018 02:16:24 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153262AC1@SHSMSX103.ccr.corp.intel.com> References: <20180801040712.13792-1-3chas3@gmail.com> <039ED4275CED7440929022BC67E706115326261E@SHSMSX103.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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTE4MTQ2Y2ItZDc4Ny00ZGRjLWJmNDAtOTU4MDYzNTBkZDVkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieVVtY3R1M1NlZVlSSnpoNUdEQnRFaitHdTUzTlwvSXd3aEZ1bkxnV3IwRjRTM0hTWU1FdUhEUVZyajhrQnBTRDYifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] net/i40e: stop lldp before setting local lldp MIB X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2018 02:16:33 -0000 DQoNCkZyb206IENoYXMgV2lsbGlhbXMgW21haWx0bzozY2hhczNAZ21haWwuY29tXQ0KU2VudDog V2VkbmVzZGF5LCBBdWd1c3QgMSwgMjAxOCAxMTozMSBQTQ0KVG86IFpoYW5nLCBRaSBaIDxxaS56 LnpoYW5nQGludGVsLmNvbT4NCkNjOiBkZXZAZHBkay5vcmc7IFhpbmcsIEJlaWxlaSA8YmVpbGVp LnhpbmdAaW50ZWwuY29tPjsgQ2hhcyBXaWxsaWFtcyA8Y2hhczNAYXR0LmNvbT4NClN1YmplY3Q6 IFJlOiBbUEFUQ0hdIG5ldC9pNDBlOiBzdG9wIGxsZHAgYmVmb3Jl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