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 AD18D458CD; Mon, 2 Sep 2024 11:55:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83D654067C; Mon, 2 Sep 2024 11:55:24 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by mails.dpdk.org (Postfix) with ESMTP id 2825840657 for ; Mon, 2 Sep 2024 11:55:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725270904; x=1756806904; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xx+URqdKatIWoIiZSgwOZ0b5Zm1xSDZ2JYioP5I+YQE=; b=iNSRX8HZTraTS2EQkUSRXDSquGa/+2HbGrQUYXs4NDkVpxgFNWqwsZrr vS/k/0HnsJs8G7c7yN/TpoDpw8k1KqVP0KyhJ7iKNXrNz/RqO8hFG0hYl hNcTf+PHzf2f7OiNRFr7vNvAPMLot/mjOofB9TA/SHgRen7SeBPFXmnkC PUPFFMtuoxWmY+6bthziAvXoxRwnu4b2lXEkOexbultRrJ9DaYv/ifXPb HOArfYImsgW1MHJwokLJfjmcC1SmlfFHJ0qHyfF8TuFTIS3waE7dkFjuI /6gOFMgLVYDb8dkatryqNEg/9v2VGIEB41vgc3gjRcIPmBYEChlK3C4KR g==; X-CSE-ConnectionGUID: dOwgwqebSY+lfm4oGaUNhg== X-CSE-MsgGUID: 7P1HbWp6T42t5WU8JsxwLg== X-IronPort-AV: E=McAfee;i="6700,10204,11182"; a="26747191" X-IronPort-AV: E=Sophos;i="6.10,195,1719903600"; d="scan'208";a="26747191" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2024 02:55:03 -0700 X-CSE-ConnectionGUID: BEwcFEA0QrqQYsiIsDSUTw== X-CSE-MsgGUID: 7ah9i/keTw+CNP/U8XFFeQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,195,1719903600"; d="scan'208";a="64597886" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by fmviesa009.fm.intel.com with ESMTP; 02 Sep 2024 02:55:02 -0700 From: Anatoly Burakov To: dev@dpdk.org, Qiming Yang , Qi Zhang Cc: bruce.richardson@intel.com Subject: [PATCH v1 07/30] net/i40e/base: add missing define to X710TL device check Date: Mon, 2 Sep 2024 10:54:19 +0100 Message-ID: X-Mailer: git-send-email 2.43.5 In-Reply-To: References: 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 Commit c0ce1c4677fd ("net/i40e: add new X722 device") added a new X722 define as well as one for X710T*L (that wasn't called out in commit message), however it was not added to the I40E_IS_X710TL_DEVICE check. This patch adds the missing define to the check. Fixes: c0ce1c4677fd ("net/i40e: add new X722 device") Signed-off-by: Anatoly Burakov --- drivers/net/i40e/base/i40e_devids.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/base/i40e_devids.h b/drivers/net/i40e/base/i40e_devids.h index 11e98f1f28..0a323566d1 100644 --- a/drivers/net/i40e/base/i40e_devids.h +++ b/drivers/net/i40e/base/i40e_devids.h @@ -31,7 +31,8 @@ #define I40E_DEV_ID_1G_BASE_T_BC 0x0DD2 #define I40E_IS_X710TL_DEVICE(d) \ (((d) == I40E_DEV_ID_10G_BASE_T_BC) || \ - ((d) == I40E_DEV_ID_5G_BASE_T_BC)) + ((d) == I40E_DEV_ID_5G_BASE_T_BC) || \ + ((d) == I40E_DEV_ID_1G_BASE_T_BC)) #define I40E_DEV_ID_KX_X722 0x37CE #define I40E_DEV_ID_QSFP_X722 0x37CF #define I40E_DEV_ID_SFP_X722 0x37D0 -- 2.43.5