From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 25B59271 for ; Thu, 29 Jun 2017 06:41:36 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP; 28 Jun 2017 21:41:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,278,1496127600"; d="scan'208";a="120144878" Received: from dpdk-py-purley.sh.intel.com ([10.239.129.223]) by fmsmga005.fm.intel.com with ESMTP; 28 Jun 2017 21:41:34 -0700 From: Jeff Guo To: helin.zhang@intel.com, jingjing.wu@intel.com Cc: dev@dpdk.org, jia.guo@intel.com Date: Thu, 29 Jun 2017 12:37:51 +0800 Message-Id: <1498711073-42917-1-git-send-email-jia.guo@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1498648044-57541-2-git-send-email-jia.guo@intel.com> References: <1498648044-57541-2-git-send-email-jia.guo@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/2] add uevent api for hot plug 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: Thu, 29 Jun 2017 04:41:37 -0000 From: "Guo, Jia" This patch set aim to add a variable "uevent_fd" in structure "rte_intr_handle" for enable kernel object uevent monitoring, and add some uevent API in rte eal interrupt, that is “rte_uevent_connect” and “rte_uevent_get”. The patch use i40e for example, the driver could use these API to monitor and read out the uevent, then corresponding to handle these uevent, such as detach or attach the device. Guo, Jia (2): eal: add uevent api for hot plug net/i40e: add hot plug monitor in i40e drivers/net/i40e/i40e_ethdev.c | 19 +++ lib/librte_eal/common/eal_common_pci_uio.c | 6 +- lib/librte_eal/linuxapp/eal/eal_interrupts.c | 136 ++++++++++++++++++++- lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 6 + .../linuxapp/eal/include/exec-env/rte_interrupts.h | 37 ++++++ 5 files changed, 201 insertions(+), 3 deletions(-) -- 1.8.3.1