On 9/22/22 02:27, Nic Chautru wrote:
Using a common directory for the ACC PMDs

Signed-off-by: Nic Chautru <nicolas.chau...@intel.com>
---
  MAINTAINERS                                  |    2 +-
  app/test-bbdev/meson.build                   |    4 +-
  app/test-bbdev/test_bbdev_perf.c             |    4 +-
  drivers/baseband/acc/acc100_pf_enum.h        |  147 +
  drivers/baseband/acc/acc100_pmd.h            |  177 +
  drivers/baseband/acc/acc100_vf_enum.h        |   73 +
  drivers/baseband/acc/acc101_pmd.h            |   40 +
  drivers/baseband/acc/acc_common.h            | 1303 +++++++
  drivers/baseband/acc/meson.build             |    8 +
  drivers/baseband/acc/rte_acc100_cfg.h        |   49 +
  drivers/baseband/acc/rte_acc100_pmd.c        | 4655 ++++++++++++++++++++++++++
  drivers/baseband/acc/rte_acc_common_cfg.h    |  101 +
  drivers/baseband/acc/version.map             |    9 +
  drivers/baseband/acc100/acc100_pf_enum.h     |  147 -
  drivers/baseband/acc100/acc100_pmd.h         |  177 -
  drivers/baseband/acc100/acc100_vf_enum.h     |   73 -
  drivers/baseband/acc100/acc101_pmd.h         |   40 -
  drivers/baseband/acc100/acc_common.h         | 1303 -------
  drivers/baseband/acc100/meson.build          |    8 -
  drivers/baseband/acc100/rte_acc100_cfg.h     |   49 -
  drivers/baseband/acc100/rte_acc100_pmd.c     | 4655 --------------------------
  drivers/baseband/acc100/rte_acc_common_cfg.h |  101 -
  drivers/baseband/acc100/version.map          |    9 -
  drivers/baseband/meson.build                 |    2 +-
  24 files changed, 6568 insertions(+), 6568 deletions(-)
  create mode 100644 drivers/baseband/acc/acc100_pf_enum.h
  create mode 100644 drivers/baseband/acc/acc100_pmd.h
  create mode 100644 drivers/baseband/acc/acc100_vf_enum.h
  create mode 100644 drivers/baseband/acc/acc101_pmd.h
  create mode 100644 drivers/baseband/acc/acc_common.h
  create mode 100644 drivers/baseband/acc/meson.build
  create mode 100644 drivers/baseband/acc/rte_acc100_cfg.h
  create mode 100644 drivers/baseband/acc/rte_acc100_pmd.c
  create mode 100644 drivers/baseband/acc/rte_acc_common_cfg.h
  create mode 100644 drivers/baseband/acc/version.map
  delete mode 100644 drivers/baseband/acc100/acc100_pf_enum.h
  delete mode 100644 drivers/baseband/acc100/acc100_pmd.h
  delete mode 100644 drivers/baseband/acc100/acc100_vf_enum.h
  delete mode 100644 drivers/baseband/acc100/acc101_pmd.h
  delete mode 100644 drivers/baseband/acc100/acc_common.h
  delete mode 100644 drivers/baseband/acc100/meson.build
  delete mode 100644 drivers/baseband/acc100/rte_acc100_cfg.h
  delete mode 100644 drivers/baseband/acc100/rte_acc100_pmd.c
  delete mode 100644 drivers/baseband/acc100/rte_acc_common_cfg.h
  delete mode 100644 drivers/baseband/acc100/version.map


Instead of creating and deleting the files, you should use git mv, it
will generate something like this (does not include the meson.build
changes):


 drivers/baseband/{acc100 => acc}/acc100_pf_enum.h | 0
 drivers/baseband/{acc100 => acc}/acc100_pmd.h     | 0
 drivers/baseband/{acc100 => acc}/acc100_vf_enum.h | 0
 drivers/baseband/{acc100 => acc}/acc101_pmd.h     | 0
 drivers/baseband/{acc100 => acc}/meson.build      | 0
 drivers/baseband/{acc100 => acc}/rte_acc100_cfg.h | 0
 drivers/baseband/{acc100 => acc}/rte_acc100_pmd.c | 0
 drivers/baseband/{acc100 => acc}/version.map      | 0
 8 files changed, 0 insertions(+), 0 deletions(-)
 rename drivers/baseband/{acc100 => acc}/acc100_pf_enum.h (100%)
 rename drivers/baseband/{acc100 => acc}/acc100_pmd.h (100%)
 rename drivers/baseband/{acc100 => acc}/acc100_vf_enum.h (100%)
 rename drivers/baseband/{acc100 => acc}/acc101_pmd.h (100%)
 rename drivers/baseband/{acc100 => acc}/meson.build (100%)
 rename drivers/baseband/{acc100 => acc}/rte_acc100_cfg.h (100%)
 rename drivers/baseband/{acc100 => acc}/rte_acc100_pmd.c (100%)
 rename drivers/baseband/{acc100 => acc}/version.map (100%)

diff --git a/drivers/baseband/acc100/acc100_pf_enum.h b/drivers/baseband/acc/acc100_pf_enum.h
similarity index 100%
rename from drivers/baseband/acc100/acc100_pf_enum.h
rename to drivers/baseband/acc/acc100_pf_enum.h
diff --git a/drivers/baseband/acc100/acc100_pmd.h b/drivers/baseband/acc/acc100_pmd.h
similarity index 100%
rename from drivers/baseband/acc100/acc100_pmd.h
rename to drivers/baseband/acc/acc100_pmd.h
diff --git a/drivers/baseband/acc100/acc100_vf_enum.h b/drivers/baseband/acc/acc100_vf_enum.h
similarity index 100%
rename from drivers/baseband/acc100/acc100_vf_enum.h
rename to drivers/baseband/acc/acc100_vf_enum.h
diff --git a/drivers/baseband/acc100/acc101_pmd.h b/drivers/baseband/acc/acc101_pmd.h
similarity index 100%
rename from drivers/baseband/acc100/acc101_pmd.h
rename to drivers/baseband/acc/acc101_pmd.h
diff --git a/drivers/baseband/acc100/meson.build b/drivers/baseband/acc/meson.build
similarity index 100%
rename from drivers/baseband/acc100/meson.build
rename to drivers/baseband/acc/meson.build
diff --git a/drivers/baseband/acc100/rte_acc100_cfg.h b/drivers/baseband/acc/rte_acc100_cfg.h
similarity index 100%
rename from drivers/baseband/acc100/rte_acc100_cfg.h
rename to drivers/baseband/acc/rte_acc100_cfg.h
diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c b/drivers/baseband/acc/rte_acc100_pmd.c
similarity index 100%
rename from drivers/baseband/acc100/rte_acc100_pmd.c
rename to drivers/baseband/acc/rte_acc100_pmd.c
diff --git a/drivers/baseband/acc100/version.map b/drivers/baseband/acc/version.map
similarity index 100%
rename from drivers/baseband/acc100/version.map
rename to drivers/baseband/acc/version.map

Reply via email to