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 B2DC8A054F; Mon, 5 Sep 2022 13:30:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60FF3410E7; Mon, 5 Sep 2022 13:30:51 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 760DC400D6 for ; Mon, 5 Sep 2022 13:30:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662377450; x=1693913450; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=IBllbTaGd1ySd8XFeD0qK72XcwBi2sceYFtLTWZn8Dk=; b=Btu3Yt2rZIej2vnUdbbWFaJ9OSxZeScbJGU5JTXUJXvSJHMJN2jc4Fp7 U7oTpAaPLeBk+GQEMGbzArPxjWNeDhkK7c1r/PnG999xy8IRsG2de03Ty 8HB9eeCsZmkSLPg7Zc3E41rRkcjP0oA7Tc1ZXVb26pVW3Iog9EH6yXxOA F3K+tc6dsPMjwYcEXXIj5vp7seKsAFYXAkMg+5aX5esPLG1OcgueuZst+ dzX1PDJI+GHWQZQ9lyp5zTiNw1QertFIpYLoZD3Yc5DK03FhMNFmDnz/e +ajOA42Pe+aL6tvb7H/P5A3DoQmOIupO9isZBrN9sy3bwAF4VimyDKC4m w==; X-IronPort-AV: E=McAfee;i="6500,9779,10460"; a="283364406" X-IronPort-AV: E=Sophos;i="5.93,291,1654585200"; d="scan'208";a="283364406" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2022 04:30:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,291,1654585200"; d="scan'208";a="739566095" Received: from dpdk-jf-ntb-v2.sh.intel.com ([10.67.118.246]) by orsmga004.jf.intel.com with ESMTP; 05 Sep 2022 04:30:48 -0700 From: Junfeng Guo To: qi.z.zhang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com Cc: dev@dpdk.org, xiao.w.wang@intel.com, junfeng.guo@intel.com Subject: [RFC 1/3] net/idpf: add support for CPF Date: Mon, 5 Sep 2022 19:30:29 +0800 Message-Id: <20220905113031.3223290-2-junfeng.guo@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220905113031.3223290-1-junfeng.guo@intel.com> References: <20220905113031.3223290-1-junfeng.guo@intel.com> 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 CPF device id in idpf map. Signed-off-by: Junfeng Guo --- drivers/net/idpf/idpf_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c index b3ca4e3326..08ada728b1 100644 --- a/drivers/net/idpf/idpf_ethdev.c +++ b/drivers/net/idpf/idpf_ethdev.c @@ -1193,6 +1193,7 @@ idpf_dev_uninit(struct rte_eth_dev *dev) static const struct rte_pci_id pci_id_idpf_map[] = { { RTE_PCI_DEVICE(IECM_INTEL_VENDOR_ID, IECM_DEV_ID_PF) }, + { RTE_PCI_DEVICE(IECM_INTEL_VENDOR_ID, IECM_DEV_ID_CPF) }, { .vendor_id = 0, /* sentinel */ }, }; -- 2.25.1