From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) by dpdk.org (Postfix) with ESMTP id C5BB5902 for ; Tue, 29 Sep 2015 06:44:26 +0200 (CEST) Received: by pacex6 with SMTP id ex6so194503743pac.0 for ; Mon, 28 Sep 2015 21:44:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=iQUt+tCd/W/lNj0YFG+CoLDDD9NW0RH+pI2nZZN31n8=; b=IQjeDJGTzaKJSpsXIC+gT/i/MO5o1paAryvdy34J0t8mt08Ly9MGQDWwauGV0W4hnx qxJmBimdwZPzUrJjW3GEaxoAMRASx4tgKBde3u3I2BEJDFo+bLYqvbiP62zTWvw+zySf 5MedeRgBzeiF5I7x8fYKiOVuCPU33Q+qH0nijx+foYbBs3LDcjV5wGDfoq29y7kE0oKM Jwp+v09XNH1ybitdWN2YRppkSmwrS+9eKHwkI2YgyVP7uk+RAl0eS+u658RYgVGCN7wx zyHiS0Ul2r1BllcKAwtIzo9EIWYkSE2dhWbzB/ZhcD1uJwRJqQkIZsbWtkojOd7r2Siu LHyg== X-Gm-Message-State: ALoCoQlS2C1Kjr68fKof3BWNS2uj3eNMT6dP2AyCVA0KfLazozIS45JkHeVGIL0N86EHMUSsYO/L X-Received: by 10.66.141.199 with SMTP id rq7mr30806604pab.140.1443501866000; Mon, 28 Sep 2015 21:44:26 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id pk2sm22529261pbb.21.2015.09.28.21.44.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Sep 2015 21:44:25 -0700 (PDT) Date: Mon, 28 Sep 2015 21:44:34 -0700 From: Stephen Hemminger To: Srikanth Akula Message-ID: <20150928214434.1c8c9c33@urahara> In-Reply-To: References: <1439463883-19689-1-git-send-email-john.mcnamara@intel.com> <1439463883-19689-2-git-send-email-john.mcnamara@intel.com> <8CEF83825BEC744B83065625E567D7C219F39EE3@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: [dpdk-dev] Hotplug 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: Tue, 29 Sep 2015 04:44:27 -0000 On Mon, 28 Sep 2015 21:12:50 -0700 Srikanth Akula wrote: > Hello , > > I am trying to write an application based on DPDK port hotplug feature . My > requirement is to get an event when a new PCI devices gets added to the > system on the go. > > Do we have any in-built mechanism in DPDK (UIO/e1000/vfio drivers ) that i > can use to get notifications when a new device gets added . I know the > alternatives such as inotify etc . > > But i am more interested to get equivalent support in dpdk drivers . > > Please let me know . > > Srikanth Implementing hotplug requires integration with the OS more than any additional DPDK support. What the Brocade vRouter does is leverage the existing Linux udev infrastructure to send a message to the router application which then initializes and sets up the new hardware. Most of the DPDK changes are upstream already and involve being able to dynamically add ports on the fly.