From patchwork Fri Jun 8 21:20:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 40948 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 12E8F1D051; Fri, 8 Jun 2018 23:21:16 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 464C91D063 for ; Fri, 8 Jun 2018 23:21:13 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jun 2018 14:21:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,491,1520924400"; d="scan'208";a="61610762" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.223]) by fmsmga004.fm.intel.com with ESMTP; 08 Jun 2018 14:21:12 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , Xiao Wang Date: Fri, 8 Jun 2018 22:20:41 +0100 Message-Id: <20180608212048.67261-9-bruce.richardson@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608212048.67261-1-bruce.richardson@intel.com> References: <20180517201526.28658-1-bruce.richardson@intel.com> <20180608212048.67261-1-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH v2 08/15] net/ifc: rename to ifcvf X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" All files in the directory and the resulting driver have prefix of ifcvf, not just ifc, so rename directory for accuracy. Also rename the map file to standard name for meson build in the process. CC: Xiao Wang Signed-off-by: Bruce Richardson --- MAINTAINERS | 4 ++-- drivers/net/Makefile | 2 +- drivers/net/{ifc => ifcvf}/Makefile | 2 +- drivers/net/{ifc => ifcvf}/base/ifcvf.c | 0 drivers/net/{ifc => ifcvf}/base/ifcvf.h | 0 drivers/net/{ifc => ifcvf}/base/ifcvf_osdep.h | 0 drivers/net/{ifc => ifcvf}/ifcvf_vdpa.c | 0 .../rte_ifcvf_version.map => ifcvf/rte_pmd_ifcvf_version.map} | 0 8 files changed, 4 insertions(+), 4 deletions(-) rename drivers/net/{ifc => ifcvf}/Makefile (94%) rename drivers/net/{ifc => ifcvf}/base/ifcvf.c (100%) rename drivers/net/{ifc => ifcvf}/base/ifcvf.h (100%) rename drivers/net/{ifc => ifcvf}/base/ifcvf_osdep.h (100%) rename drivers/net/{ifc => ifcvf}/ifcvf_vdpa.c (100%) rename drivers/net/{ifc/rte_ifcvf_version.map => ifcvf/rte_pmd_ifcvf_version.map} (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 4667fa7fb..4f6055590 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -559,10 +559,10 @@ T: git://dpdk.org/next/dpdk-next-net-intel F: drivers/net/avf/ F: doc/guides/nics/features/avf*.ini -Intel ifc +Intel ifcvf M: Xiao Wang T: git://dpdk.org/next/dpdk-next-net-intel -F: drivers/net/ifc/ +F: drivers/net/ifcvf/ F: doc/guides/nics/ifcvf.rst F: doc/guides/nics/features/ifcvf.ini diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 9f9da6651..9308f9a7b 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile @@ -59,7 +59,7 @@ endif # $(CONFIG_RTE_LIBRTE_SCHED) ifeq ($(CONFIG_RTE_LIBRTE_VHOST),y) DIRS-$(CONFIG_RTE_LIBRTE_PMD_VHOST) += vhost ifeq ($(CONFIG_RTE_EAL_VFIO),y) -DIRS-$(CONFIG_RTE_LIBRTE_IFCVF_VDPA_PMD) += ifc +DIRS-$(CONFIG_RTE_LIBRTE_IFCVF_VDPA_PMD) += ifcvf endif endif # $(CONFIG_RTE_LIBRTE_VHOST) diff --git a/drivers/net/ifc/Makefile b/drivers/net/ifcvf/Makefile similarity index 94% rename from drivers/net/ifc/Makefile rename to drivers/net/ifcvf/Makefile index 1011995bc..a022faaad 100644 --- a/drivers/net/ifc/Makefile +++ b/drivers/net/ifcvf/Makefile @@ -22,7 +22,7 @@ BASE_DRIVER_OBJS=$(sort $(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/base/*. VPATH += $(SRCDIR)/base -EXPORT_MAP := rte_ifcvf_version.map +EXPORT_MAP := rte_pmd_ifcvf_version.map LIBABIVER := 1 diff --git a/drivers/net/ifc/base/ifcvf.c b/drivers/net/ifcvf/base/ifcvf.c similarity index 100% rename from drivers/net/ifc/base/ifcvf.c rename to drivers/net/ifcvf/base/ifcvf.c diff --git a/drivers/net/ifc/base/ifcvf.h b/drivers/net/ifcvf/base/ifcvf.h similarity index 100% rename from drivers/net/ifc/base/ifcvf.h rename to drivers/net/ifcvf/base/ifcvf.h diff --git a/drivers/net/ifc/base/ifcvf_osdep.h b/drivers/net/ifcvf/base/ifcvf_osdep.h similarity index 100% rename from drivers/net/ifc/base/ifcvf_osdep.h rename to drivers/net/ifcvf/base/ifcvf_osdep.h diff --git a/drivers/net/ifc/ifcvf_vdpa.c b/drivers/net/ifcvf/ifcvf_vdpa.c similarity index 100% rename from drivers/net/ifc/ifcvf_vdpa.c rename to drivers/net/ifcvf/ifcvf_vdpa.c diff --git a/drivers/net/ifc/rte_ifcvf_version.map b/drivers/net/ifcvf/rte_pmd_ifcvf_version.map similarity index 100% rename from drivers/net/ifc/rte_ifcvf_version.map rename to drivers/net/ifcvf/rte_pmd_ifcvf_version.map