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 9BE8DA00C2; Mon, 26 Sep 2022 10:43:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64A424069B; Mon, 26 Sep 2022 10:43:28 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 02360400D5 for ; Mon, 26 Sep 2022 10:43:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664181804; x=1695717804; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=IBllbTaGd1ySd8XFeD0qK72XcwBi2sceYFtLTWZn8Dk=; b=Azaej7HQ08rxoeMCGfrPXiWhaFVfpit2M/4ktLYcsGX/Rwkp06JXEFhD IUTzLlCvYMR9eM/3p2atXVKcgYPXJU9hfOk+c8Slep71CAem8bp6zOFca Aug95a3x7husJ3SKcoMsYMbE8CEU2/6Y/IH9UwlX5xIIJ90j4JBD37P6L ObekjsReMHc9gaGLp+E7WxWSwVnkAJB+oWPW9NQ5zoYYsc/UlyKRUvnEp /pyDFWXhVRgR430wlG4EpqfPJJ+q6BmqDN/3kGVTjM3sDfQQG/0ThbYQv QB3GIYNq1KKOr+Y1iBhx1f232RMF0v/QxCzA1UCL6/TKdeStc9ei5ZE1f w==; X-IronPort-AV: E=McAfee;i="6500,9779,10481"; a="302444372" X-IronPort-AV: E=Sophos;i="5.93,345,1654585200"; d="scan'208";a="302444372" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2022 01:43:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10481"; a="949770618" X-IronPort-AV: E=Sophos;i="5.93,345,1654585200"; d="scan'208";a="949770618" Received: from dpdk-jf-ntb-v2.sh.intel.com ([10.67.118.246]) by fmsmga005.fm.intel.com with ESMTP; 26 Sep 2022 01:43:05 -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 v2 1/3] net/idpf: add support for CPF Date: Mon, 26 Sep 2022 16:42:46 +0800 Message-Id: <20220926084248.1421987-2-junfeng.guo@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926084248.1421987-1-junfeng.guo@intel.com> References: <20220905113031.3223290-2-junfeng.guo@intel.com> <20220926084248.1421987-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