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 0703245E09; Mon, 2 Dec 2024 19:21:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE55C40270; Mon, 2 Dec 2024 19:21:51 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mails.dpdk.org (Postfix) with ESMTP id C3DF44025D; Mon, 2 Dec 2024 19:21:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1733163710; x=1764699710; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=6PE6R60+/I9Jh7HgGGeq5CxHY2MXu/OtA1vTQvoVOsI=; b=TOR1TzWDaS60EmSGid1mhAb/UM2eAzTxovBOzcTXjZQYSC49pzxxsGu6 lNb88+mPKnTBxzwgXJTeF9QYoDIEe/Jf0TOtzgHldMvm6Nr9BfuvN54rz k4KxIWcW8NTCyEBifRu8YTqdtN+FMTuOm3kDXUs/5MTYVly2kRTvu0MLn FgzexMDnd660Ld5E+z1rzmSyH/9JGPmmdklzh52CG8b7mdcSG/uCgKVkR 8J/ZKaD7TxrZU1/I972rHE9wHXL3l4+5ZIM7R1DKQLjZepobys0NrPexj nuxonK7t3ajdM44/C8k/Ehgns1wxWr7Sh/KGUOYLUje+Uz26K7zUjxina w==; X-CSE-ConnectionGUID: anojXTiNQWqOwmWJ9gR0aQ== X-CSE-MsgGUID: FPGy5lS/Sf+FzPsFKP+JuQ== X-IronPort-AV: E=McAfee;i="6700,10204,11274"; a="44017819" X-IronPort-AV: E=Sophos;i="6.12,203,1728975600"; d="scan'208";a="44017819" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2024 10:21:49 -0800 X-CSE-ConnectionGUID: 1NQY0ymAScWEbTNgLqJw7Q== X-CSE-MsgGUID: 9BZEF6uBSN2r51wAV9joQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,203,1728975600"; d="scan'208";a="93507500" Received: from silpixa00401176.ir.intel.com ([10.243.23.21]) by fmviesa010.fm.intel.com with ESMTP; 02 Dec 2024 10:21:47 -0800 From: Vladimir Medvedkin To: dev@dpdk.org Cc: anatoly.burakov@intel.com, stable@dpdk.org Subject: [PATCH] net/ixgbe: fix missing E610 support in flow engine Date: Mon, 2 Dec 2024 18:21:44 +0000 Message-ID: <20241202182144.1880251-1-vladimir.medvedkin@intel.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Currently flow engine is missing a new mac type E610 in the check for fdir support. This patch adds this mac type to the check. Fixes: 316637762a5f ("net/ixgbe/base: enable E610 device") Cc: stable@dpdk.org Signed-off-by: Vladimir Medvedkin --- drivers/net/ixgbe/ixgbe_fdir.c | 3 ++- drivers/net/ixgbe/ixgbe_flow.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_fdir.c b/drivers/net/ixgbe/ixgbe_fdir.c index 06d6e2126d..b6351bc2cf 100644 --- a/drivers/net/ixgbe/ixgbe_fdir.c +++ b/drivers/net/ixgbe/ixgbe_fdir.c @@ -647,7 +647,8 @@ ixgbe_fdir_configure(struct rte_eth_dev *dev) hw->mac.type != ixgbe_mac_X540 && hw->mac.type != ixgbe_mac_X550 && hw->mac.type != ixgbe_mac_X550EM_x && - hw->mac.type != ixgbe_mac_X550EM_a) + hw->mac.type != ixgbe_mac_X550EM_a && + hw->mac.type != ixgbe_mac_E610) return -ENOSYS; /* x550 supports mac-vlan and tunnel mode but other NICs not */ diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe_flow.c index 1b35ed5faa..33da2f47ec 100644 --- a/drivers/net/ixgbe/ixgbe_flow.c +++ b/drivers/net/ixgbe/ixgbe_flow.c @@ -2764,7 +2764,8 @@ ixgbe_parse_fdir_filter(struct rte_eth_dev *dev, hw->mac.type != ixgbe_mac_X540 && hw->mac.type != ixgbe_mac_X550 && hw->mac.type != ixgbe_mac_X550EM_x && - hw->mac.type != ixgbe_mac_X550EM_a) + hw->mac.type != ixgbe_mac_X550EM_a && + hw->mac.type != ixgbe_mac_E610) return -ENOTSUP; ret = ixgbe_parse_fdir_filter_normal(dev, attr, pattern, -- 2.43.0