From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 036F3214A for ; Tue, 25 Oct 2016 12:43:09 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 25 Oct 2016 03:43:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,545,1473145200"; d="scan'208";a="1049758295" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga001.jf.intel.com with ESMTP; 25 Oct 2016 03:43:08 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 25 Oct 2016 03:43:08 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 25 Oct 2016 03:43:08 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.139]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.96]) with mapi id 14.03.0248.002; Tue, 25 Oct 2016 18:43:04 +0800 From: "Wu, Jingjing" To: "Yang, Qiming" , "dev@dpdk.org" CC: "Zhang, Helin" , "Richardson, Bruce" Thread-Topic: [PATCH v2 1/2] net/i40e: fix link status change interrupt Thread-Index: AQHSLneA1Iqy/B7zWEmdjIJckVG8gKC4+/qw Date: Tue, 25 Oct 2016 10:43:03 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F80E2946B2@SHSMSX103.ccr.corp.intel.com> References: <1477369146-63317-1-git-send-email-qiming.yang@intel.com> In-Reply-To: <1477369146-63317-1-git-send-email-qiming.yang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjMyMDA3NzgtMjg1My00NjExLTk0YjItMmQ4MTEzZTQ4MWU1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InNKK2lvYjlpRCtWZTFabU9idTBnYThFNlBKUGRDWUI3Y0VrblhXSlBpcWM9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 1/2] net/i40e: fix link status change interrupt X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2016 10:43:10 -0000 > -----Original Message----- > From: Yang, Qiming > Sent: Tuesday, October 25, 2016 12:19 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; Zhang, Helin ; Richardson, > Bruce ; Yang, Qiming > Subject: [PATCH v2 1/2] net/i40e: fix link status change interrupt >=20 > Previously, link status interrupt in i40e is achieved by checking > LINK_STAT_CHANGE_MASK in PFINT_ICR0 register which is provided only > for diagnostic use. Instead, drivers need to get the link status > change notification by using LSE (Link Status Event). >=20 > This patch enables LSE and calls LSC callback when the event is > received. This patch also removes the processing on > LINK_STAT_CHANGE_MASK. >=20 > Fixes: 4861cde46116 ("i40e: new poll mode driver") >=20 > Signed-off-by: Qiming Yang Acked-by: Jingjing Wu