From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] ixgbe: Fix disable interrupt twice Date: Fri, 26 Feb 2016 14:39:11 +0000 Message-ID: <20160226143911.GA21628@bricha3-MOBL3> References: <1454046700-20843-1-git-send-email-michael.qiu@intel.com> <1454047090-21274-1-git-send-email-michael.qiu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" To: "Zhang, Helin" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 984D94CE4 for ; Fri, 26 Feb 2016 15:39:15 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Feb 23, 2016 at 02:10:57AM +0000, Zhang, Helin wrote: > > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Michael Qiu > > Sent: Friday, January 29, 2016 1:58 PM > > To: dev@dpdk.org > > Subject: [dpdk-dev] [PATCH v2] ixgbe: Fix disable interrupt twice > > > > Currently, ixgbe vf and pf will disable interrupt twice in stop stage and uninit > > stage. It will cause an error: > > > > testpmd> quit > > > > Shutting down port 0... > > Stopping ports... > > Done > > Closing ports... > > EAL: Error disabling MSI-X interrupts for fd 26 > > Done > > > > Becasue the interrupt already been disabled in stop stage. > > Since it is enabled in init stage, better remove from stop stage. > > > > Fixes: 0eb609239efd ("ixgbe: enable Rx queue interrupts for PF and VF") > > > > Signed-off-by: Michael Qiu > Acked-by: Helin Zhang > applied to dpdk-next-net/rel_16_04 /Bruce