From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id EB96B5A4F for ; Tue, 1 Sep 2015 09:42:31 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 01 Sep 2015 00:42:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,447,1437462000"; d="scan'208";a="780079097" Received: from pgsmsx107.gar.corp.intel.com ([10.221.44.105]) by fmsmga001.fm.intel.com with ESMTP; 01 Sep 2015 00:42:29 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.110.14) by PGSMSX107.gar.corp.intel.com (10.221.44.105) with Microsoft SMTP Server (TLS) id 14.3.224.2; Tue, 1 Sep 2015 15:42:27 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.206]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.248]) with mapi id 14.03.0224.002; Tue, 1 Sep 2015 15:42:25 +0800 From: "Lu, Wenzhuo" To: Shelton Chia , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] ixgbe: fix LSC callback Thread-Index: AQHQ5H6W1+kOYApqAkyYXZdfhfUt6J4nSjCw Date: Tue, 1 Sep 2015 07:42:24 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC0909D4282A@shsmsx102.ccr.corp.intel.com> References: <1441088490-9420-1-git-send-email-jiaxt@sinogrid.com> In-Reply-To: <1441088490-9420-1-git-send-email-jiaxt@sinogrid.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "letaotor@gmail.com" Subject: Re: [dpdk-dev] [PATCH] ixgbe: fix LSC callback 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, 01 Sep 2015 07:42:32 -0000 Hi Shelton, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Shelton Chia > Sent: Tuesday, September 1, 2015 2:22 PM > To: dev@dpdk.org > Cc: letaotor@gmail.com > Subject: [dpdk-dev] [PATCH] ixgbe: fix LSC callback >=20 > add _rte_eth_dev_callback_process to call callback func Would you like to give more details about why we need this patch? Thanks. >=20 > Signed-off-by: Shelton Chia > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_e= thdev.c > index b8ee1e9..4e4c118 100644 > --- a/drivers/net/ixgbe/ixgbe_ethdev.c > +++ b/drivers/net/ixgbe/ixgbe_ethdev.c > @@ -2775,6 +2775,8 @@ ixgbe_dev_interrupt_action(struct rte_eth_dev *dev) >=20 > ixgbe_dev_link_status_print(dev); >=20 > + __rte_eth_dev_callback_process(dev, > RTE_ETH_EVENT_INTR_LSC); > + > intr_enable_delay =3D true; > } >=20 > -- > 2.5.0