From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 9B89B5596 for ; Fri, 29 Apr 2016 08:53:47 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id g17so19957894wme.1 for ; Thu, 28 Apr 2016 23:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=LKACpFZHHDJ6J5GsWzDFuUFIyj+R2ZS7fswRgNvEa50=; b=nCyKqdjWaUef4PyBW6pBxJfxwTBIC7xj4Mq3LWC1rTELld+XcwkysVjhazlkCEyRl3 vNSPvavQnTKXdLpRqFTy8KKouCuK6m/D4deCjg13MFjfGQ4gItYgcEOyG10cjGKJPvlc iZ10VqhP8a7TfnlFMCQSme0OiGT+XbfFn3OyMknnrgFk+lOWWUMuHO2vmRvQog/prfvi RDhGGDra5pHmEnr+lM8L0Vutu1n+Sq2ge1vZGPGHhpOOJKK/n43TuejUUWp0bprNdd20 WeegZ3K04RcQUPOSe+i4koqXtH8AVrhJbwldJOSfw+iCwjS9KHYIIJMWpxIiG6xuAaUo mysw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=LKACpFZHHDJ6J5GsWzDFuUFIyj+R2ZS7fswRgNvEa50=; b=lKcb1LnUA1BjXVjmnSbLuh8N+EW9Y++nKOZCNd2Le07AkE7yZd0QNaa973/L0RWgnI zh3m8iVuepXk3NK+4japrRARS8yBvLhQ60rRyJ5yiklIshlsI11S6k+RoFO53ycFovMv dEjLZ5UDX6Y+ZX0Y5lFEwso07Dr4k12EYscWyw4vUaH6wopzo7M8JZZLqsruoebEQomt zH4SAfBaD4SkDLdtKiglSrWT0MoNe9k6ca87U/+JDPzjVUqod0jqEdsNhFJ7+jwenNhz 4wpWIU3RYgduFXp2969iytDFMRASrioVNixBWt7woDH3yfLSnPhj6gP4KWwzMOaPAwgq fP0w== X-Gm-Message-State: AOPr4FXlfV0O1HToTfAdjqt7YelFfDnLq4xEeBggIN3QDP/fCjV19Ql6wiSb8TaO/JptFa1H X-Received: by 10.28.2.67 with SMTP id 64mr1922958wmc.70.1461912827472; Thu, 28 Apr 2016 23:53:47 -0700 (PDT) Received: from xps13.localnet (51.111.75.86.rev.sfr.net. [86.75.111.51]) by smtp.gmail.com with ESMTPSA id q77sm1744470wmd.12.2016.04.28.23.53.46 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Apr 2016 23:53:46 -0700 (PDT) From: Thomas Monjalon To: "David Harton (dharton)" Cc: users@dpdk.org Date: Fri, 29 Apr 2016 08:53:45 +0200 Message-ID: <2894388.k7NLsDXYx5@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-users] How To Handle Hot Remove? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2016 06:53:47 -0000 2016-04-28 23:50, David Harton: > 1) What notification does DPDK provide the application or to gracefully stop the device? A rework of hotplug is in progress: http://dpdk.org/ml/archives/dev/2016-April/037686.html Notifications needs to be added. > 2) Is there any kind of ordering the application has to follow before calling rte_eth_dev_detatch()? The order is "stop - close - detach": /** * Detach a Ethernet device specified by port identifier. * This function must be called when the device is in the * closed state.