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 730EAA0613 for ; Tue, 27 Aug 2019 13:12:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8F0CE1BFA5; Tue, 27 Aug 2019 13:12:09 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4A55C1BFA5 for ; Tue, 27 Aug 2019 13:12:07 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2019 04:12:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,436,1559545200"; d="scan'208";a="380002732" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 27 Aug 2019 04:12:06 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 27 Aug 2019 04:12:06 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 27 Aug 2019 04:12:06 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.250]) with mapi id 14.03.0439.000; Tue, 27 Aug 2019 19:12:04 +0800 From: "Jiang, JunyuX" To: "Ye, Xiaolong" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/ixgbe: fix Rx/Tx queue interrupt for X552/557 devices Thread-Index: AQHVXKsFCRnM2zsfykOgSok2tQLVhacOHX8AgAC5SYA= Date: Tue, 27 Aug 2019 11:12:04 +0000 Message-ID: <83175929B735C043B45FD9D60721BCC8C5D2D5@SHSMSX101.ccr.corp.intel.com> References: <20190827040724.9982-1-junyux.jiang@intel.com> <20190827065758.12152-1-junyux.jiang@intel.com> <20190827080729.GA35807@intel.com> In-Reply-To: <20190827080729.GA35807@intel.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 Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: fix Rx/Tx queue interrupt for X552/557 devices 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" Hi, > Could you elaborate more about the issue that this patch trying to solve? this issue is:start l3fwd-power with pf port0 bind to vfio-pci,there was = no response when send packets to l3fwd-power in x552/x557. > -----Original Message----- > From: Ye, Xiaolong > Sent: Tuesday, August 27, 2019 4:08 PM > To: Jiang, JunyuX > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: fix Rx/Tx queue interrupt f= or > X552/557 devices >=20 > Hi, >=20 > On 08/27, Jiang JunyuX wrote: > >X552/557 devices do not enable the queue interrupt mapping, this patch > >fix the issue. >=20 > Could you elaborate more about the issue that this patch trying to solve? >=20 > > > >Fixes: d2e72774e58c ("ixgbe/base: support X550") >=20 > Please also cc stable@dpdk.org for a fix patch. >=20 > Thanks, > Xiaolong >=20 > > > >Signed-off-by: Jiang JunyuX > >--- > > drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > >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 > >