From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 20D3120ADA; Thu, 30 Nov 2017 19:40:48 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 30 Nov 2017 19:40:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=fMH20KnCwfDUA4JB44IJttALLa xp9rLra1HIhyTCUtQ=; b=phcmVQqhfLS6riJzq7V3wA/l1KAdJ7ywNG5md5t2n7 0utNt2fwWOYfqaO5kw7eWV4TEApyyRa/or5kHPM1jCv9z8wnHvPPJ+Me9Ai903IQ fLhj5AuXXkXsOHJjt4dC+o18pO+q4bhMBuDHAIZzIfaSU8aeJI4mVAnOYUwODONU Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=fMH20K nCwfDUA4JB44IJttALLaxp9rLra1HIhyTCUtQ=; b=DjMANzdP5FaruB6TRvlNWq 2iTxOMBVgvnUbU4ubb6GB6pllk+qXyLUd3Jnn7y3hMlbtLH4082T6bm8wSHF9NZN m8U2OpOmzol06dPx1SH1IHmTtvkrgbXhD8vPmmC5ik0sKA/mwsthLiv2IGnvr8Cb TrDxbs69w75LpLswGOmL3y/abAPRFwtCnl/fZ5/Yh6cDvavNXhNsnVqLbA1TqvMA x3u9EJUrHGujjUBbc+34P092cfbUu8E2Psqcdp8O769D8teblKLrDReACW/JZOim Z82SxzR2GBXRHNUA1Yk0Cet/S8tM7P2XBj4m1k32OjSOOAgJLM8v6HqbjWTrferQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C74B97E571; Thu, 30 Nov 2017 19:40:47 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: jianfeng.tan@intel.com Date: Fri, 01 Dec 2017 01:40:46 +0100 Message-ID: <2006332.M48dtIDSk8@xps> In-Reply-To: <20171201003642.19827-1-thomas@monjalon.net> References: <20171201003642.19827-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] bus/vdev: add custom scan hook X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2017 00:40:48 -0000 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!