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 7B303A2E1B for ; Thu, 5 Sep 2019 08:56:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4A3931ED36; Thu, 5 Sep 2019 08:56:59 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 879F2B62; Thu, 5 Sep 2019 08:56:57 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Sep 2019 23:56:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,469,1559545200"; d="scan'208";a="177208595" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga008.jf.intel.com with ESMTP; 04 Sep 2019 23:56:56 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 4 Sep 2019 23:56:56 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 4 Sep 2019 23:56:55 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 4 Sep 2019 23:56:55 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.32]) with mapi id 14.03.0439.000; Thu, 5 Sep 2019 14:56:53 +0800 From: "Yang, Qiming" To: "Jiang, JunyuX" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "stable@dpdk.org" , "Ye, Xiaolong" Thread-Topic: [PATCH v4] net/ixgbe: fix Rx/Tx queue interrupt for X552/557 device Thread-Index: AQHVYwaNJjtctTNCO0WAwDNeV1rMtaccqA9g Date: Thu, 5 Sep 2019 06:56:53 +0000 Message-ID: References: <20190902022956.4629-1-junyux.jiang@intel.com> <20190904033147.55297-1-junyux.jiang@intel.com> In-Reply-To: <20190904033147.55297-1-junyux.jiang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTk4ZTAzNGYtOGEwYS00NWU3LTk5N2MtZTI1MDEzYzc5MzE5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR013UTN0Y25MNHlId1UyaFwvZXZqUXVzY0dcL2REQ1N5ZmhnSFo4cWdVRVVudGxTUU5WY3psYlwvcmxETmpVeUNwMyJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action 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 v4] net/ixgbe: fix Rx/Tx queue interrupt for X552/557 device 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" > -----Original Message----- > From: Jiang, JunyuX > Sent: Wednesday, September 4, 2019 11:32 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Yang, Qiming > ; Jiang, JunyuX ; > stable@dpdk.org > Subject: [PATCH v4] net/ixgbe: fix Rx/Tx queue interrupt for X552/557 dev= ice >=20 > Interrupt mode is not working on X552/557 device because this device > doesn't enable the queue interrupt mapping, this patch fixed the issue. >=20 > Fixes: d2e72774e58c ("ixgbe/base: support X550") > Cc: stable@dpdk.org >=20 > Signed-off-by: Jiang JunyuX > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c > b/drivers/net/ixgbe/ixgbe_ethdev.c > index 03fc1f717..e36e1c58e 100644 > --- a/drivers/net/ixgbe/ixgbe_ethdev.c > +++ b/drivers/net/ixgbe/ixgbe_ethdev.c > @@ -5896,7 +5896,8 @@ ixgbe_set_ivar_map(struct ixgbe_hw *hw, int8_t > direction, > IXGBE_WRITE_REG(hw, IXGBE_IVAR(idx), tmp); > } else if ((hw->mac.type =3D=3D ixgbe_mac_82599EB) || > (hw->mac.type =3D=3D ixgbe_mac_X540) || > - (hw->mac.type =3D=3D ixgbe_mac_X550)) { > + (hw->mac.type =3D=3D ixgbe_mac_X550) || > + (hw->mac.type =3D=3D ixgbe_mac_X550EM_x)) { > if (direction =3D=3D -1) { > /* other causes */ > idx =3D ((queue & 1) * 8); > @@ -6026,6 +6027,7 @@ ixgbe_configure_msix(struct rte_eth_dev *dev) > case ixgbe_mac_82599EB: > case ixgbe_mac_X540: > case ixgbe_mac_X550: > + case ixgbe_mac_X550EM_x: > ixgbe_set_ivar_map(hw, -1, 1, IXGBE_MISC_VEC_ID); > break; > default: > -- > 2.17.1 Acked-by: Qiming Yang