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 CF809558D for ; Wed, 23 Nov 2016 20:36:47 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 23 Nov 2016 11:36:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,539,1473145200"; d="scan'208";a="1072691964" Received: from bwalker-desk.ch.intel.com ([143.182.137.60]) by fmsmga001.fm.intel.com with ESMTP; 23 Nov 2016 11:36:46 -0800 From: Ben Walker To: dev@dpdk.org Date: Wed, 23 Nov 2016 12:36:37 -0700 Message-Id: <1479929804-19614-1-git-send-email-benjamin.walker@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] Improved PCI hotplug support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2016 19:36:49 -0000 This series of patches adds support for PCI hot insert and remove. Detection of new devices or removed devices is accomplished by polling rte_eal_pci_probe, with the registered PCI drivers being loaded or unloaded when a new device is found or previously known device is removed. There are some additional considerations for hotplug that this patch does not address. Full hotplug support actually consists of three operations: 1) Hot insert. This patch series does correctly handle this case. 2) Planned hot remove. This patch series can also handle this case because the user can explicitly unload the driver prior to removal. 3) Surprise hot remove. If a driver is loaded and active, a SIGBUS may occur on the next access to a memory mapped region. This is currently NOT handled by this patch series.