From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id BCEAE1B292 for ; Wed, 25 Oct 2017 19:09:23 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2017 10:09:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,432,1503385200"; d="scan'208";a="167006524" Received: from dpdk06.sh.intel.com ([10.67.110.196]) by fmsmga005.fm.intel.com with ESMTP; 25 Oct 2017 10:09:07 -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: Wed, 25 Oct 2017 17:10:42 +0000 Message-Id: <1508951446-70979-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 v8 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: Wed, 25 Oct 2017 17:09:25 -0000 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 | 14 +- drivers/bus/Makefile | 3 + 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 | 356 +++++++++++++++++++++++++ drivers/bus/vdev/vdev_logs.h | 45 ++++ drivers/crypto/Makefile | 1 + drivers/event/Makefile | 2 +- drivers/net/Makefile | 2 +- lib/librte_cryptodev/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 + 31 files changed, 658 insertions(+), 555 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