From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A39DA1B3B6 for ; Tue, 7 Nov 2017 07:52:38 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2017 22:52:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,357,1505804400"; d="scan'208";a="172932741" Received: from dpdk06.sh.intel.com ([10.67.110.196]) by fmsmga006.fm.intel.com with ESMTP; 06 Nov 2017 22:52:34 -0800 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: Tue, 7 Nov 2017 06:54:18 +0000 Message-Id: <1510037662-94690-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 v12 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: Tue, 07 Nov 2017 06:52:39 -0000 v12: (Suggested Thomas) - Remove unnecessary files introduced in v11. - Adjust position for some macros. - Move LDLIBS into PMD Makefile. - Do not bump the LIBABIVER. - Rebase on latest code. v11: - Rename rte_vdev.h to rte_bus_vdev.h as suggested by Thomas. v10: - Rebase on 17.11-rc2. 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 is originated from below series: http://dpdk.org/ml/archives/dev/2017-September/076821.html As per previous discussions, we 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 | 11 + drivers/bus/Makefile | 2 + drivers/bus/vdev/Makefile | 57 ++++ drivers/bus/vdev/rte_bus_vdev.h | 153 +++++++++++ drivers/bus/vdev/rte_bus_vdev_version.map | 8 + drivers/bus/vdev/vdev.c | 356 +++++++++++++++++++++++++ drivers/bus/vdev/vdev_logs.h | 45 ++++ drivers/crypto/aesni_gcm/Makefile | 1 + drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 2 +- drivers/crypto/aesni_mb/Makefile | 1 + drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 2 +- drivers/crypto/armv8/Makefile | 1 + drivers/crypto/armv8/rte_armv8_pmd.c | 2 +- drivers/crypto/kasumi/Makefile | 1 + drivers/crypto/kasumi/rte_kasumi_pmd.c | 2 +- drivers/crypto/mrvl/Makefile | 1 + drivers/crypto/mrvl/rte_mrvl_pmd.c | 2 +- drivers/crypto/null/Makefile | 1 + drivers/crypto/null/null_crypto_pmd.c | 2 +- drivers/crypto/openssl/Makefile | 1 + drivers/crypto/openssl/rte_openssl_pmd.c | 2 +- drivers/crypto/scheduler/Makefile | 1 + drivers/crypto/scheduler/scheduler_pmd.c | 2 +- drivers/crypto/snow3g/Makefile | 1 + drivers/crypto/snow3g/rte_snow3g_pmd.c | 2 +- drivers/crypto/zuc/Makefile | 1 + drivers/crypto/zuc/rte_zuc_pmd.c | 2 +- drivers/event/dpaa2/Makefile | 1 + drivers/event/dpaa2/dpaa2_eventdev.c | 2 +- drivers/event/octeontx/Makefile | 1 + drivers/event/octeontx/ssovf_evdev.c | 2 +- drivers/event/skeleton/Makefile | 1 + drivers/event/skeleton/skeleton_eventdev.c | 2 +- drivers/event/sw/Makefile | 1 + drivers/event/sw/sw_evdev.c | 2 +- drivers/net/af_packet/Makefile | 1 + drivers/net/af_packet/rte_eth_af_packet.c | 2 +- drivers/net/bonding/Makefile | 1 + drivers/net/bonding/rte_eth_bond_api.c | 2 +- drivers/net/bonding/rte_eth_bond_pmd.c | 2 +- drivers/net/failsafe/Makefile | 1 + drivers/net/failsafe/failsafe.c | 2 +- drivers/net/kni/Makefile | 1 + drivers/net/kni/rte_eth_kni.c | 2 +- drivers/net/mrvl/Makefile | 1 + drivers/net/mrvl/mrvl_ethdev.c | 2 +- drivers/net/null/Makefile | 1 + drivers/net/null/rte_eth_null.c | 2 +- drivers/net/octeontx/Makefile | 1 + drivers/net/octeontx/octeontx_ethdev.c | 2 +- drivers/net/pcap/Makefile | 1 + drivers/net/pcap/rte_eth_pcap.c | 2 +- drivers/net/ring/Makefile | 1 + drivers/net/ring/rte_eth_ring.c | 2 +- drivers/net/softnic/Makefile | 1 + drivers/net/softnic/rte_eth_softnic.c | 2 +- drivers/net/tap/Makefile | 1 + drivers/net/tap/rte_eth_tap.c | 2 +- drivers/net/vhost/Makefile | 1 + drivers/net/vhost/rte_eth_vhost.c | 2 +- drivers/net/virtio/Makefile | 3 + drivers/net/virtio/virtio_user_ethdev.c | 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_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 | 1 - lib/librte_eal/rte_eal_version.map | 4 - lib/librte_ether/rte_ethdev_vdev.h | 2 +- lib/librte_eventdev/rte_eventdev_pmd_vdev.h | 2 +- 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 + 84 files changed, 711 insertions(+), 578 deletions(-) create mode 100644 drivers/bus/vdev/Makefile create mode 100644 drivers/bus/vdev/rte_bus_vdev.h create mode 100644 drivers/bus/vdev/rte_bus_vdev_version.map 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