From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 1/5] ethdev: introduce device removal event Date: Tue, 02 May 2017 11:18:06 +0200 Message-ID: <1493717377.6Zc0AIm2Fr@xps> References: <20170425090536.GS14914@bidouze.vm.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Ga=EBtan?= Rivet , dev@dpdk.org, Billy McFall , Olivier MATZ , Ferruh Yigit , Elad Persiko To: Jan Blunck Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id E3DC6377E for ; Tue, 2 May 2017 11:18:07 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 02/05/2017 09:35, Jan Blunck: > Am 25.04.2017 11:06 schrieb "Ga=EBtan Rivet" : >=20 > Hi Ferruh, >=20 >=20 > On Fri, Apr 21, 2017 at 03:59:24PM +0100, Ferruh Yigit wrote: >=20 > > On 4/18/2017 1:17 PM, Gaetan Rivet wrote: > > > >> This new API allows reacting to a device removal. > >> A device removal is the sudden disappearance of a device from its > >> bus. > >> > > > I don't think this belongs into ethdev. If it is bus related we need to > expose this from it so that apps can register for the low level device > being unplugged. Yes it sounds right. We could work on device notifications. We need to find a way of notifying the application that there is a device event and that it affects one or more port at ethdev/cryptodev/eventdev level.