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 B9019A0540; Wed, 10 Aug 2022 08:07:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A2A440A87; Wed, 10 Aug 2022 08:07:44 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 160F54068E for ; Wed, 10 Aug 2022 08:07:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660111663; x=1691647663; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=jUPBURLBpiJIIcDIsEYP+errVFiGcsLOIMxF7WEBQfw=; b=YnTzMgE/T3vfF6JMwOp96mmHpbVoq+NbdfPtB1dzO2OgUjaCYA1TKlN6 j6jVFd21YbEKF2wB2p3/034VWxYYI506AWosLf/NVwxAjp8mojl5ORAvl /UtjFxbHMSAIU1u9K4Qmb3u9NkjNxJCNuvgh7743XW2Zl90iVA9XhPn3b R557iewk/o4/FhbBB4NKVcii7lBbjfLvlMuFse3D/gkqHmT+v9HwnIVVb Y6TXDLXDHYCW2fV7A6yhx8EI7u0dj0NkmO8Ua6pYxKXOPde04tCo//jcQ 175WYyJEfKzndNHF9lYAzAImG9KkUoIyIsk3csUg+CaYYWF4GvFy8l1fF A==; X-IronPort-AV: E=McAfee;i="6400,9594,10434"; a="288572594" X-IronPort-AV: E=Sophos;i="5.93,226,1654585200"; d="scan'208";a="288572594" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2022 23:07:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,226,1654585200"; d="scan'208";a="581103870" Received: from dpdk-jf-ntb-v2.sh.intel.com ([10.67.118.246]) by orsmga006.jf.intel.com with ESMTP; 09 Aug 2022 23:07:25 -0700 From: Junfeng Guo To: qi.z.zhang@intel.com, qiming.yang@intel.com, simei.su@intel.com Cc: dev@dpdk.org, Junfeng Guo Subject: [PATCH] net/igc: add support for Ethernet Controller I225-IT Date: Wed, 10 Aug 2022 14:07:20 +0800 Message-Id: <20220810060720.1631088-1-junfeng.guo@intel.com> X-Mailer: git-send-email 2.25.1 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 Add device id for Ethernet Controller (2) I225-IT. Signed-off-by: Junfeng Guo --- drivers/net/igc/base/igc_api.c | 1 + drivers/net/igc/base/igc_hw.h | 1 + drivers/net/igc/igc_ethdev.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/net/igc/base/igc_api.c b/drivers/net/igc/base/igc_api.c index 9b791dc082..c9fc9ed4b0 100644 --- a/drivers/net/igc/base/igc_api.c +++ b/drivers/net/igc/base/igc_api.c @@ -886,6 +886,7 @@ s32 igc_set_mac_type(struct igc_hw *hw) case IGC_DEV_ID_I225_V: case IGC_DEV_ID_I225_K: case IGC_DEV_ID_I225_I: + case IGC_DEV_ID_I225_IT: case IGC_DEV_ID_I220_V: case IGC_DEV_ID_I225_BLANK_NVM: case IGC_DEV_ID_I226_K: diff --git a/drivers/net/igc/base/igc_hw.h b/drivers/net/igc/base/igc_hw.h index 707a1883b4..e919a11c02 100644 --- a/drivers/net/igc/base/igc_hw.h +++ b/drivers/net/igc/base/igc_hw.h @@ -164,6 +164,7 @@ struct igc_hw; #define IGC_DEV_ID_I225_V 0x15F3 #define IGC_DEV_ID_I225_K 0x3100 #define IGC_DEV_ID_I225_I 0x15F8 +#define IGC_DEV_ID_I225_IT 0x0D9F #define IGC_DEV_ID_I220_V 0x15F7 #define IGC_DEV_ID_I225_BLANK_NVM 0x15FD #define IGC_DEV_ID_I226_K 0x3102 diff --git a/drivers/net/igc/igc_ethdev.c b/drivers/net/igc/igc_ethdev.c index 7f221a5d34..22053c6ae6 100644 --- a/drivers/net/igc/igc_ethdev.c +++ b/drivers/net/igc/igc_ethdev.c @@ -96,6 +96,7 @@ static const struct rte_pci_id pci_id_igc_map[] = { { RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I225_LM) }, { RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I225_V) }, { RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I225_I) }, + { RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I225_IT) }, { RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I225_K) }, { RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I226_K) }, { RTE_PCI_DEVICE(IGC_INTEL_VENDOR_ID, IGC_DEV_ID_I226_LMVP) }, -- 2.25.1