From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4216C45C8D for ; Wed, 6 Nov 2024 09:54:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 67E8C42DE9; Wed, 6 Nov 2024 09:54:15 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by mails.dpdk.org (Postfix) with ESMTP id A158340265; Wed, 6 Nov 2024 09:54:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730883252; x=1762419252; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Q7VdnLu3jztci+sZDiy6RkJE6qSnNIVZquYMjJZHWro=; b=Yd8jmBkBUFbpfHhptTsiMiVSf8UaZbTcZ+vCrV/jXfX+3FVZPG7c0tfh wDzQ7D2WIKO7e+WqMF6Z32McMhPdXnJq9DkuAZ/CJzbXgBpuOiE1tAJLx RV7BzelCZuBWUfb62yjrLVFOIWWwd+sObUyplq+yhxc6473vuXxDRkOK2 Yv4NDqTFCEY3kMlvzGKzH6a+/5/mIJve1Pvb7nRXV5bXidbJLMd6QUIm8 EpaseoCWneaozuUXYo1KtBQx8KFRjNKoGY/PbgKWjnc+E1n9YoDzoiV4e TMExfqv7/cyfw0IBU6lqTmSu0Q6TnOTcqIJZt44LFEqQLGj6Xnews9jyJ g==; X-CSE-ConnectionGUID: 1j1AU66RQD2m0pfLN4NEZw== X-CSE-MsgGUID: IqfRq4EAQzGapP2Xgv1ATw== X-IronPort-AV: E=McAfee;i="6700,10204,11247"; a="30083128" X-IronPort-AV: E=Sophos;i="6.11,262,1725346800"; d="scan'208";a="30083128" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2024 00:53:55 -0800 X-CSE-ConnectionGUID: iMiA1uUITQ6W5e/FjUhSsw== X-CSE-MsgGUID: UgZnY1W7RImtlimA4vnKXw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,262,1725346800"; d="scan'208";a="88996409" Received: from unknown (HELO fmssizr7prd918.ed.cps.intel.com) ([10.239.252.210]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2024 00:53:53 -0800 From: Yuan Wang To: anatoly.burakov@intel.com, vladimir.medvedkin@intel.com Cc: dev@dpdk.org, Yuan Wang , stable@dpdk.org Subject: [PATCH] net/ixgbe: fix queue interrupt for E610 Date: Wed, 6 Nov 2024 16:53:39 +0800 Message-ID: <20241106085339.1379106-1-yuanx.wang@intel.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Interrupt mode is not working on E610 device because this device doesn't enable the queue interrupt mapping, this patch fixed the issue. Fixes: 316637762a5f ("net/ixgbe/base: enable E610 device") Cc: stable@dpdk.org Signed-off-by: Yuan Wang --- 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 7da2ccf6a8..cfe75cb438 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -5974,7 +5974,8 @@ ixgbe_set_ivar_map(struct ixgbe_hw *hw, int8_t direction, (hw->mac.type == ixgbe_mac_X540) || (hw->mac.type == ixgbe_mac_X550) || (hw->mac.type == ixgbe_mac_X550EM_a) || - (hw->mac.type == ixgbe_mac_X550EM_x)) { + (hw->mac.type == ixgbe_mac_X550EM_x) || + (hw->mac.type == ixgbe_mac_E610)) { if (direction == -1) { /* other causes */ idx = ((queue & 1) * 8); @@ -6109,6 +6110,7 @@ ixgbe_configure_msix(struct rte_eth_dev *dev) case ixgbe_mac_X540: case ixgbe_mac_X550: case ixgbe_mac_X550EM_x: + case ixgbe_mac_E610: ixgbe_set_ivar_map(hw, -1, 1, IXGBE_MISC_VEC_ID); break; default: -- 2.31.1