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 7FCFBA2E1B for ; Thu, 5 Sep 2019 10:28:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 143B31EA4E; Thu, 5 Sep 2019 10:28:52 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id F01BD1E982; Thu, 5 Sep 2019 10:28:48 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Sep 2019 01:28:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,470,1559545200"; d="scan'208";a="195023853" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.5]) by orsmga002.jf.intel.com with ESMTP; 05 Sep 2019 01:28:46 -0700 Date: Thu, 5 Sep 2019 16:26:48 +0800 From: Ye Xiaolong To: Jiang JunyuX Cc: dev@dpdk.org, Wenzhuo Lu , Yang Qiming , stable@dpdk.org Message-ID: <20190905082648.GB70700@intel.com> References: <20190902022956.4629-1-junyux.jiang@intel.com> <20190904033147.55297-1-junyux.jiang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190904033147.55297-1-junyux.jiang@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) 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" On 09/04, Jiang JunyuX wrote: >Interrupt mode is not working on X552/557 device because >this device doesn't enable the queue interrupt mapping, >this patch fixed the issue. > >Fixes: d2e72774e58c ("ixgbe/base: support X550") >Cc: stable@dpdk.org > >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 == ixgbe_mac_82599EB) || > (hw->mac.type == ixgbe_mac_X540) || >- (hw->mac.type == ixgbe_mac_X550)) { >+ (hw->mac.type == ixgbe_mac_X550) || >+ (hw->mac.type == ixgbe_mac_X550EM_x)) { > if (direction == -1) { > /* other causes */ > idx = ((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 > Applied to dpdk-next-net-intel with Qiming's ack.