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 440F8A0560; Tue, 18 Oct 2022 08:24:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B64464281B; Tue, 18 Oct 2022 08:23:48 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 8BE3340E03 for ; Tue, 18 Oct 2022 08:23:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666074227; x=1697610227; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=5Z/TE3nEwNM6fzA82zyDJZ3KPU8sJuMUSRQVSAqEOMs=; b=EWP1mG78iYq6OzsbQv7LclJ9st9JdfgYhY4GNijVLZdULNT9fK7stuXl CQqb+f6TbUPP9bmXlF48kFaRnx6Bp8xN8Bemt2uR4c3CqGmd1a4jzFsK3 jKYJrw8ZHWiA90KdrXeFOlewf/zNRmIbK7uNB3iT2HzV/5y/sP0CmiG0Y HrIZNNgOlg8frA8vF6jw9pjRVKP9KozJu3dE/PLIyaEryOZjCLkPZ91zx vdWaHTOGhn4xAbvhV98N11cmTuBzG7ozqWZJT4v8DsW3UKfPyVUW8Eb+s ON7cGKy0LhNvf7P4ZgttUpGnrndt3Tu7HT1Yw3sofbK5BxlzDog2JJSnJ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="285732783" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208";a="285732783" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 23:23:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="659655873" X-IronPort-AV: E=Sophos;i="5.95,193,1661842800"; d="scan'208";a="659655873" Received: from dpdk-dipei.sh.intel.com ([10.67.110.251]) by orsmga008.jf.intel.com with ESMTP; 17 Oct 2022 23:23:45 -0700 From: Andy Pei To: dev@dpdk.org Cc: chenbo.xia@intel.com, rosen.xu@intel.com, wei.huang@intel.com, gang.cao@intel.com, maxime.coquelin@redhat.com Subject: [PATCH v7 07/12] vdpa/ifc: change internal function name Date: Tue, 18 Oct 2022 14:19:32 +0800 Message-Id: <1666073977-175484-8-git-send-email-andy.pei@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1666073977-175484-1-git-send-email-andy.pei@intel.com> References: <1661229305-240952-2-git-send-email-andy.pei@intel.com> <1666073977-175484-1-git-send-email-andy.pei@intel.com> 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 Change internal function name "find_internal_resource_by_dev" to "find_internal_resource_by_pci_dev". Signed-off-by: Andy Pei --- drivers/vdpa/ifc/ifcvf_vdpa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c index 9c49f9c..73d04ed 100644 --- a/drivers/vdpa/ifc/ifcvf_vdpa.c +++ b/drivers/vdpa/ifc/ifcvf_vdpa.c @@ -121,7 +121,7 @@ struct rte_vdpa_dev_info { } static struct internal_list * -find_internal_resource_by_dev(struct rte_pci_device *pdev) +find_internal_resource_by_pci_dev(struct rte_pci_device *pdev) { int found = 0; struct internal_list *list; @@ -1746,7 +1746,7 @@ struct rte_vdpa_dev_info dev_info[] = { if (rte_eal_process_type() != RTE_PROC_PRIMARY) return 0; - list = find_internal_resource_by_dev(pci_dev); + list = find_internal_resource_by_pci_dev(pci_dev); if (list == NULL) { DRV_LOG(ERR, "Invalid device: %s", pci_dev->name); return -1; -- 1.8.3.1