From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id ADB32A00BE; Thu, 31 Oct 2019 02:50:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A8D2F1C1A6; Thu, 31 Oct 2019 02:50:57 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id A7EB41C195; Thu, 31 Oct 2019 02:50:55 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2019 18:50:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,249,1569308400"; d="scan'208";a="204058430" Received: from pgsmsx107.gar.corp.intel.com ([10.221.44.105]) by orsmga006.jf.intel.com with ESMTP; 30 Oct 2019 18:50:53 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.23]) by PGSMSX107.gar.corp.intel.com ([169.254.7.221]) with mapi id 14.03.0439.000; Thu, 31 Oct 2019 09:50:32 +0800 From: "Zhao1, Wei" To: "dev@dpdk.org" CC: "stable@dpdk.org" , "Zhang, Qi Z" , "Ye, Xiaolong" , "Fu, Qi" Thread-Topic: [PATCH] net/ice: disable useless interrupt Thread-Index: AQHVjvryO2tOwm0/q029z1iwGpv6nadz/N7g Date: Thu, 31 Oct 2019 01:50:31 +0000 Message-ID: References: <1572421604-14087-1-git-send-email-wei.zhao1@intel.com> In-Reply-To: <1572421604-14087-1-git-send-email-wei.zhao1@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [172.30.20.205] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/ice: disable useless interrupt 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Tested-by: Qi Fu < qi.fu@intel.com> > -----Original Message----- > From: Zhao1, Wei > Sent: Wednesday, October 30, 2019 3:47 PM > To: dev@dpdk.org > Cc: stable@dpdk.org; Zhang, Qi Z ; Ye, Xiaolong > ; Zhao1, Wei > Subject: [PATCH] net/ice: disable useless interrupt >=20 > This is a useless interrupt which will cause intr every time when downloa= d > FDIR rte_flow rule. >=20 > Fixes: cf911d90e366 ("net/ice: support link update") > Cc: stable@dpdk.org >=20 > Signed-off-by: Wei Zhao > --- > drivers/net/ice/ice_ethdev.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c > index d746758..404d734 100644 > --- a/drivers/net/ice/ice_ethdev.c > +++ b/drivers/net/ice/ice_ethdev.c > @@ -1225,6 +1225,8 @@ ice_pf_enable_irq0(struct ice_hw *hw) > GLINT_DYN_CTL_INTENA_M | > GLINT_DYN_CTL_CLEARPBA_M | > GLINT_DYN_CTL_ITR_INDX_M); > + /* disable useless intr */ > + ICE_WRITE_REG(hw, GL_MDCK_TX_TDPU, 0x2); >=20 > ice_flush(hw); > } > -- > 2.7.5