From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v4 05/12] net/failsafe: add plug-in support Date: Wed, 31 May 2017 08:15:26 -0700 Message-ID: <20170531081526.3e8de246@xeon-e3> References: <6b96432155ffd2d5fc6f6011a0b229c2224116f8.1496065002.git.gaetan.rivet@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Gaetan Rivet Return-path: Received: from mail-pg0-f50.google.com (mail-pg0-f50.google.com [74.125.83.50]) by dpdk.org (Postfix) with ESMTP id C70937CCA for ; Wed, 31 May 2017 17:15:28 +0200 (CEST) Received: by mail-pg0-f50.google.com with SMTP id u187so9339565pgb.0 for ; Wed, 31 May 2017 08:15:28 -0700 (PDT) In-Reply-To: <6b96432155ffd2d5fc6f6011a0b229c2224116f8.1496065002.git.gaetan.rivet@6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, 29 May 2017 15:42:17 +0200 Gaetan Rivet wrote: > Periodically check for the existence of a device. > If a device has not been initialized and exists on the system, then it > is probed and configured. > > The configuration process strives to synchronize the states between the > plugged-in sub-device and the fail-safe device. There are existing event models (udev and netlink) that could be used to do plug-in support without polling. Polling relies on application doing rte_alarms and many don't.