[dpdk-dev] [PATCH v0 0/4] move vdev into drivers/bus
Jianfeng Tan
jianfeng.tan at intel.com
Fri Oct 27 03:06:55 CEST 2017
v9:
- Avoid bumping library version (eal, crypto) as other commits in this
release already do that as suggested by Pablo.
- Move vdev's dir dependency to its own folder as suggested by Gaetan.
v8: (Suggested by Pablo)
- As we bump the library version and add new library (bus_vdev), we
need to update those in release note.
- Fix compiling issue in test as of missing rte_vdev.h.
- Move vdev API symbols from eal to bus_vdev; update in release note.
v7:
- Add notice in release note for API change, and bump library version
of librte_cryptodev and librte_eal, as suggested by Thomas.
v6:
- Don't introduce the static log type for bug, instead we use dynamic
log type for vdev, suggested by Shreyansh Jain.
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 (4):
cryptodev: remove crypto vdev init API
eal: remove dependency on vdev
bus/vdev: move to vdev bus to drivers/bus
bus/vdev: change log type
config/common_base | 5 +
doc/guides/rel_notes/deprecation.rst | 5 -
doc/guides/rel_notes/release_17_11.rst | 10 +
drivers/bus/Makefile | 4 +-
drivers/bus/vdev/Makefile | 57 ++++
drivers/bus/vdev/rte_bus_vdev_version.map | 8 +
drivers/bus/vdev/rte_vdev.h | 153 +++++++++++
drivers/bus/vdev/vdev.c | 356 +++++++++++++++++++++++++
drivers/bus/vdev/vdev_logs.h | 45 ++++
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 | 3 +-
lib/librte_eal/common/Makefile | 2 +-
lib/librte_eal/common/eal_common_dev.c | 22 +-
lib/librte_eal/common/eal_common_vdev.c | 342 ------------------------
lib/librte_eal/common/include/rte_dev.h | 24 +-
lib/librte_eal/common/include/rte_vdev.h | 131 ---------
lib/librte_eal/linuxapp/eal/Makefile | 3 +-
lib/librte_eal/rte_eal_version.map | 4 -
mk/rte.app.mk | 1 +
test/test/test_cryptodev.c | 1 +
test/test/test_event_eth_rx_adapter.c | 1 +
test/test/test_eventdev.c | 1 +
test/test/test_eventdev_octeontx.c | 1 +
test/test/test_eventdev_sw.c | 1 +
test/test/test_link_bonding_rssconf.c | 1 +
30 files changed, 656 insertions(+), 554 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