From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id A7FD11BBB4 for ; Fri, 27 Oct 2017 03:05:23 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP; 26 Oct 2017 18:05:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,302,1505804400"; d="scan'208";a="142702997" Received: from dpdk06.sh.intel.com ([10.67.110.196]) by orsmga004.jf.intel.com with ESMTP; 26 Oct 2017 18:05:19 -0700 From: Jianfeng Tan To: dev@dpdk.org Cc: jblunck@infradead.org, bruce.richardson@intel.com, konstantin.ananyev@intel.com, pablo.de.lara.guarch@intel.com, thomas@monjalon.net, yliu@fridaylinux.org, maxime.coquelin@redhat.com, mtetsuyah@gmail.com, ferruh.yigit@intel.com, Jianfeng Tan Date: Fri, 27 Oct 2017 01:06:55 +0000 Message-Id: <1509066419-117099-1-git-send-email-jianfeng.tan@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507519229-80692-1-git-send-email-jianfeng.tan@intel.com> References: <1507519229-80692-1-git-send-email-jianfeng.tan@intel.com> Subject: [dpdk-dev] [PATCH v0 0/4] move vdev into drivers/bus 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: , X-List-Received-Date: Fri, 27 Oct 2017 01:05:24 -0000 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