From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Guo Subject: [PATCH 0/3] use a common eal device event for hot-unplug Date: Fri, 14 Dec 2018 15:45:37 +0800 Message-ID: <1544773540-89825-1-git-send-email-jia.guo@intel.com> Cc: ferruh.yigit@intel.com, konstantin.ananyev@intel.com, dev@dpdk.org, jia.guo@intel.com, stephen@networkplumber.org, gaetan.rivet@6wind.com, qi.z.zhang@intel.com, arybchenko@solarflare.com, bruce.richardson@intel.com, shaopeng.he@intel.com, anatoly.burakov@intel.com To: bernard.iremonger@intel.com, wenzhuo.lu@intel.com, shahafs@mellanox.com, thomas@monjalon.net, matan@mellanox.com Return-path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E9D8D1B613 for ; Fri, 14 Dec 2018 08:41:29 +0100 (CET) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch set aim to use a common eal device event mechanism to manage devices for hot-unplug whatever device types, so the previous ethdev remove event will be deleted and the device detach will be remove from app into eal framework. Jeff Guo (3): eal: add --dev-hotplug option ethdev: remove ethdev rmv interrupt testpmd: remove device detach into eal app/test-pmd/parameters.c | 2 -- app/test-pmd/testpmd.c | 41 +++--------------------------- drivers/bus/pci/pci_common.c | 7 +++++ drivers/net/failsafe/failsafe_ether.c | 12 ++++----- drivers/net/failsafe/failsafe_ops.c | 3 +-- drivers/net/failsafe/failsafe_private.h | 6 ++--- drivers/net/mlx4/mlx4_intr.c | 1 - drivers/net/mlx5/mlx5_ethdev.c | 7 ++--- lib/librte_eal/bsdapp/eal/eal.c | 16 ++++++++++++ lib/librte_eal/common/eal_common_options.c | 5 ++++ lib/librte_eal/common/eal_internal_cfg.h | 1 + lib/librte_eal/common/eal_options.h | 4 ++- lib/librte_eal/linuxapp/eal/eal.c | 16 ++++++++++++ lib/librte_eal/linuxapp/eal/eal_dev.c | 16 +++++++++++- lib/librte_ethdev/rte_ethdev.h | 1 - 15 files changed, 79 insertions(+), 59 deletions(-) -- 2.7.4