From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <wei.dai@intel.com>
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
 by dpdk.org (Postfix) with ESMTP id AEF55376C
 for <dev@dpdk.org>; Tue, 18 Jul 2017 16:57:01 +0200 (CEST)
Received: from orsmga005.jf.intel.com ([10.7.209.41])
 by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 18 Jul 2017 07:57:00 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.40,378,1496127600"; d="scan'208";a="126492255"
Received: from kmsmsx155.gar.corp.intel.com ([172.21.73.106])
 by orsmga005.jf.intel.com with ESMTP; 18 Jul 2017 07:56:59 -0700
Received: from pgsmsx106.gar.corp.intel.com ([169.254.9.158]) by
 KMSMSX155.gar.corp.intel.com ([169.254.15.19]) with mapi id 14.03.0319.002;
 Tue, 18 Jul 2017 22:56:58 +0800
From: "Dai, Wei" <wei.dai@intel.com>
To: "Yigit, Ferruh" <ferruh.yigit@intel.com>, Srinivasan J
 <srinidpdk@gmail.com>
CC: Thomas Monjalon <thomas@monjalon.net>, "dev@dpdk.org" <dev@dpdk.org>,
 "Lu, Wenzhuo" <wenzhuo.lu@intel.com>, "Ananyev, Konstantin"
 <konstantin.ananyev@intel.com>
Thread-Topic: [dpdk-dev] [PATCH] net/ixgbe: support detection of hot swapped
 SFP/SFP+
Thread-Index: AQHS0Id63sFPqv/GZEaf/GTlCZVWsaI7iDKAgB58KhA=
Date: Tue, 18 Jul 2017 14:56:57 +0000
Message-ID: <49759EB36A64CF4892C1AFEC9231E8D650B64CD9@PGSMSX106.gar.corp.intel.com>
References: <1492685271-7583-1-git-send-email-srinidpdk@gmail.com>
 <6A0DE07E22DDAD4C9103DF62FEBC09093B59C4B1@shsmsx102.ccr.corp.intel.com>
 <CAEbeQ+oNrEJXO03ga55t+CPNcNx=Gtm1Ch9ndw4Wr4fd2qXKAg@mail.gmail.com>
 <3282640.JDCqqrB9e9@xps>
 <49759EB36A64CF4892C1AFEC9231E8D650A7D260@PGSMSX106.gar.corp.intel.com>
 <CAEbeQ+qhnVV-_GinNbQ=fuTy8MSwwv9rK+sESypLbLf1nSEPgg@mail.gmail.com>
 <e94cc676-2be5-0c4f-6cec-481eeaad498f@intel.com>
In-Reply-To: <e94cc676-2be5-0c4f-6cec-481eeaad498f@intel.com>
Accept-Language: zh-CN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMThhOWYyMGItMTVhOS00MTU0LWE0NWYtYmMwZGYwMjZiM2FlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ik0yKzdFXC9oRkt1TmZGUCtQRTNvVHl1T3dpeXZCOVczTGxzOHpJelY2aE40PSJ9
x-ctpclassification: CTP_IC
dlp-product: dlpe-windows
dlp-version: 10.0.102.7
dlp-reaction: no-action
x-originating-ip: [172.30.20.205]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: support detection of hot swapped
 SFP/SFP+
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Jul 2017 14:57:02 -0000

SEksIFNyaW5pDQoNClNvcnJ5IGZvciBsYXRlIHJlc3BvbnNlLg0KDQpBcyBJIGhhdmUgcG9pbnRl
ZCBvdXQgdGhhdCBJeGdiZV9yZXNldF9od184MjU5OSggKSBjYWxscyBody0+cGh5Lm9wcy5pbml0
KGh3KSB1bmNvbmRpdGlvbmFsbHksDQpJIHRoaW5rIGl0IGlzIG5vIG5lZWQgdG8gY2FsbCBody0+
cGh5Lm9wcy5pbml0KGh3KSBhZnRlciBpeGdiZV9wZl9yZXNldF9odyhodykgYXQgbGVhc3QgZm9y
IDgyNTk5Lg0KSSBhbHNvIHRoaW5rIHRoYXQgb25seSBtb3ZpbmcgImh3LT5waHkudHlwZSA9IGl4
Z2JlX3BoeV91bmtub3duIiBqdXN0IGJlZm9yZSBpeGdiZV9wZl9yZXNldF9odyhodykgaXMgT0su
DQoNCldoYXQncyBtb3JlLCBob3cgYWJvdXQgWDU0MCBhbmQgWDU1MCA/DQpJIGhhdmUganVzdCBn
b3QgYSBYNTQwIGFuZCBhIFg1NTAgTklDIHdpdGggY29wcGVyIGludGVyZmFjZSwgc28gSSBvbmx5
IGNhbiBwbHVnIGluL291dCB0aGUgUko0NSBsaW5lIHRvIGhlbHAgdGVzdCBpdC4NCg0KSXMgeW91
ciBwYXRjaCBkZXNpZ25lZCBmb3IgcGx1Z2dpbmcgb3V0IG9yaWdpbmFsIFNGUCBhbmQgdGhlbiBw
bHVnZ2luZyBpbiBhbm90aGVyIGRpZmZlcmVudCB0eXBlIG9mIFNGUCA/DQoNCkJ5IHRoZSB3YXks
IEknZCBsaWtlIHlvdSBwcm92aWRlIG1vcmUgZGV0YWlscyBvbiBob3cgdG8gdGVzdCB5b3VyIHBh
dGNoPyBXaXRoIHRlc3RwbWQgPyBPciBvdGhlciBhcHAgPw0KDQpUaGFua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