[dpdk-dev] [PATCH v5 0/5] move vdev into drivers/bus

Jianfeng Tan jianfeng.tan at intel.com
Mon Oct 9 13:27:19 CEST 2017


v4 & v5:
  - Fix issues of compiling shared library.
  - Remove extra symbols in drivers/bus/vdev/rte_bus_vdev_version.map.
  - Address checkpatch warnings.

This patch set depends on:
  http://dpdk.org/ml/archives/dev/2017-October/077855.html

This patch set is originated from below series:
  http://dpdk.org/ml/archives/dev/2017-September/076821.html

As per previous discussions, we tend to move all bus drivers from EAL
to drivers/bus/. This patch set targets vdev bus.

Jianfeng Tan (5):
  cryptodev: remove crypto vdev init API
  eal: remove dependency on vdev
  bus: introduce new log type for bus drivers
  bus/vdev: move to vdev bus to drivers/bus
  bus/vdev: normalize log type

 config/common_base                             |   5 +
 doc/guides/rel_notes/deprecation.rst           |   5 -
 drivers/bus/Makefile                           |   3 +
 drivers/bus/fslmc/fslmc_bus.c                  |   9 +-
 drivers/bus/fslmc/fslmc_logs.h                 |  42 +--
 drivers/bus/fslmc/fslmc_vfio.c                 |   4 +-
 drivers/bus/vdev/Makefile                      |  55 ++++
 drivers/bus/vdev/rte_bus_vdev_version.map      |   8 +
 drivers/bus/vdev/rte_vdev.h                    | 153 +++++++++++
 drivers/bus/vdev/vdev.c                        | 345 +++++++++++++++++++++++++
 drivers/bus/vdev/vdev_logs.h                   |  40 +++
 drivers/crypto/Makefile                        |   1 +
 drivers/event/Makefile                         |   2 +-
 drivers/net/Makefile                           |   2 +-
 lib/librte_cryptodev/rte_cryptodev.c           |   6 -
 lib/librte_cryptodev/rte_cryptodev.h           |  17 --
 lib/librte_cryptodev/rte_cryptodev_version.map |   1 -
 lib/librte_eal/bsdapp/eal/Makefile             |   1 -
 lib/librte_eal/common/Makefile                 |   2 +-
 lib/librte_eal/common/eal_common_dev.c         |  22 +-
 lib/librte_eal/common/eal_common_log.c         |   1 +
 lib/librte_eal/common/eal_common_vdev.c        | 342 ------------------------
 lib/librte_eal/common/include/rte_dev.h        |  24 +-
 lib/librte_eal/common/include/rte_log.h        |   1 +
 lib/librte_eal/common/include/rte_vdev.h       | 131 ----------
 lib/librte_eal/linuxapp/eal/Makefile           |   1 -
 mk/rte.app.mk                                  |   1 +
 27 files changed, 632 insertions(+), 592 deletions(-)
 create mode 100644 drivers/bus/vdev/Makefile
 create mode 100644 drivers/bus/vdev/rte_bus_vdev_version.map
 create mode 100644 drivers/bus/vdev/rte_vdev.h
 create mode 100644 drivers/bus/vdev/vdev.c
 create mode 100644 drivers/bus/vdev/vdev_logs.h
 delete mode 100644 lib/librte_eal/common/eal_common_vdev.c
 delete mode 100644 lib/librte_eal/common/include/rte_vdev.h

-- 
2.7.4



More information about the dev mailing list