From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] bus/vdev: add custom scan hook Date: Fri, 01 Dec 2017 01:40:46 +0100 Message-ID: <2006332.M48dtIDSk8@xps> References: <20171201003642.19827-1-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: jianfeng.tan@intel.com To: dev@dpdk.org Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 7A1DB199AE for ; Fri, 1 Dec 2017 01:40:48 +0100 (CET) In-Reply-To: <20171201003642.19827-1-thomas@monjalon.net> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 01/12/2017 01:36, Thomas Monjalon: > The scan callback allows to spawn a vdev automatically > given some custom scan rules. > It is especially useful to create a TAP device automatically > connected to a netdevice as remote. > > Signed-off-by: Thomas Monjalon > --- > warning: to be tested > --- > drivers/bus/vdev/rte_bus_vdev.h | 29 ++++++++++++++++ > drivers/bus/vdev/vdev.c | 75 +++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 104 insertions(+) self-review: the new functions must be added in the .map file!