From patchwork Tue Jan 17 22:36:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chautru, Nicolas" X-Patchwork-Id: 122219 X-Patchwork-Delegate: maxime.coquelin@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6620242401; Tue, 17 Jan 2023 23:40:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABB7442D24; Tue, 17 Jan 2023 23:40:08 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 14E4F40151 for ; Tue, 17 Jan 2023 23:40:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673995207; x=1705531207; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GG/Vq/khZHFfkytIB2yX2bFFtqeIzmt0CpixRlz76oQ=; b=AXmy63Lcg5Qf1QcZ/i8iQ7/O9UGzUlNDao/FJzV9VOgl0jhNhJk55O0B hJjXiLBhaXblwtHDn4SVzNcQ0Wc3OT4/Lsn/YxNzGmsNll1uSY8M2yK8h BC91n53LAsqGuuZLGBAgi4qpwYi4CZEeJoIjTLM/qoocHGljZ/xVx9RTo M9pCW0/c6MXPxSAuokcqEFLJA+T339UQ0X8ywLN8+2nBc16BD3HxFW0/1 yyVsA/FdyDVzhcm1FJWLgnXfsYInpI3VSFQRHwhpEcO6+jf6mYZ1Pk0NI whLr5V9bCzcKnxrXIWCeokk9rFPRSbcGn43EZ2i+VfTgSIghYxIU2Iqt7 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10593"; a="326913980" X-IronPort-AV: E=Sophos;i="5.97,224,1669104000"; d="scan'208";a="326913980" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2023 14:40:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10593"; a="767454824" X-IronPort-AV: E=Sophos;i="5.97,224,1669104000"; d="scan'208";a="767454824" Received: from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..) ([10.233.181.123]) by fmsmga002.fm.intel.com with ESMTP; 17 Jan 2023 14:40:04 -0800 From: Nicolas Chautru To: dev@dpdk.org, maxime.coquelin@redhat.com Cc: hernan.vargas@intel.com, Nicolas Chautru Subject: [PATCH v1 1/6] baseband/acc: file renaming from acc200 to generic vrb Date: Tue, 17 Jan 2023 22:36:37 +0000 Message-Id: <20230117223642.17618-2-nicolas.chautru@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230117223642.17618-1-nicolas.chautru@intel.com> References: <20230117223642.17618-1-nicolas.chautru@intel.com> MIME-Version: 1.0 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 Renaming files as part of refactor to have generic intel vRAN Boost PMD (vrb) whose acc200 is only one variant. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/meson.build | 2 +- drivers/baseband/acc/rte_acc100_pmd.c | 2 +- drivers/baseband/acc/{rte_acc200_pmd.c => rte_vrb_pmd.c} | 2 +- drivers/baseband/acc/{acc200_cfg.h => vrb_cfg.h} | 6 +++--- drivers/baseband/acc/{acc200_pmd.h => vrb_pmd.h} | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) rename drivers/baseband/acc/{rte_acc200_pmd.c => rte_vrb_pmd.c} (99%) rename drivers/baseband/acc/{acc200_cfg.h => vrb_cfg.h} (90%) rename drivers/baseband/acc/{acc200_pmd.h => vrb_pmd.h} (98%) diff --git a/drivers/baseband/acc/meson.build b/drivers/baseband/acc/meson.build index 77c393b533..966cd65c79 100644 --- a/drivers/baseband/acc/meson.build +++ b/drivers/baseband/acc/meson.build @@ -3,6 +3,6 @@ deps += ['bbdev', 'bus_pci'] -sources = files('rte_acc100_pmd.c', 'rte_acc200_pmd.c') +sources = files('rte_acc100_pmd.c', 'rte_vrb_pmd.c') headers = files('rte_acc_cfg.h') diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc/rte_acc100_pmd.c index b3164529dd..e5fe27a06b 100644 --- a/drivers/baseband/acc/rte_acc100_pmd.c +++ b/drivers/baseband/acc/rte_acc100_pmd.c @@ -21,7 +21,7 @@ #include #include "acc100_pmd.h" #include "acc101_pmd.h" -#include "acc200_cfg.h" +#include "vrb_cfg.h" #ifdef RTE_LIBRTE_BBDEV_DEBUG RTE_LOG_REGISTER_DEFAULT(acc100_logtype, DEBUG); diff --git a/drivers/baseband/acc/rte_acc200_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c similarity index 99% rename from drivers/baseband/acc/rte_acc200_pmd.c rename to drivers/baseband/acc/rte_vrb_pmd.c index 204f37349b..8e61847dd2 100644 --- a/drivers/baseband/acc/rte_acc200_pmd.c +++ b/drivers/baseband/acc/rte_vrb_pmd.c @@ -19,7 +19,7 @@ #include #include -#include "acc200_pmd.h" +#include "vrb_pmd.h" #ifdef RTE_LIBRTE_BBDEV_DEBUG RTE_LOG_REGISTER_DEFAULT(acc200_logtype, DEBUG); diff --git a/drivers/baseband/acc/acc200_cfg.h b/drivers/baseband/acc/vrb_cfg.h similarity index 90% rename from drivers/baseband/acc/acc200_cfg.h rename to drivers/baseband/acc/vrb_cfg.h index d77506b560..2b31244818 100644 --- a/drivers/baseband/acc/acc200_cfg.h +++ b/drivers/baseband/acc/vrb_cfg.h @@ -2,8 +2,8 @@ * Copyright(c) 2022 Intel Corporation */ -#ifndef _ACC200_CFG_H_ -#define _ACC200_CFG_H_ +#ifndef _VRB_CFG_H_ +#define _VRB_CFG_H_ /** * @file acc200_cfg.h @@ -29,4 +29,4 @@ int acc200_configure(const char *dev_name, struct rte_acc_conf *conf); -#endif /* _ACC200_CFG_H_ */ +#endif /* _VRB_CFG_H_ */ diff --git a/drivers/baseband/acc/acc200_pmd.h b/drivers/baseband/acc/vrb_pmd.h similarity index 98% rename from drivers/baseband/acc/acc200_pmd.h rename to drivers/baseband/acc/vrb_pmd.h index f3f2627ae9..c37bd4d57b 100644 --- a/drivers/baseband/acc/acc200_pmd.h +++ b/drivers/baseband/acc/vrb_pmd.h @@ -2,13 +2,13 @@ * Copyright(c) 2022 Intel Corporation */ -#ifndef _RTE_ACC200_PMD_H_ -#define _RTE_ACC200_PMD_H_ +#ifndef _VRB_PMD_H_ +#define _VRB_PMD_H_ #include "acc_common.h" #include "acc200_pf_enum.h" #include "acc200_vf_enum.h" -#include "acc200_cfg.h" +#include "vrb_cfg.h" /* Helper macro for logging */ #define rte_bbdev_log(level, fmt, ...) \ @@ -193,4 +193,4 @@ static const struct acc200_registry_addr vf_reg_addr = { .pmon_ctrl_c = HWVfPmCCntrlRegVf, }; -#endif /* _RTE_ACC200_PMD_H_ */ +#endif /* _VRB_PMD_H_ */