From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id F1F5A1CDEC for ; Thu, 5 Apr 2018 23:13:55 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6124720BC6; Thu, 5 Apr 2018 17:13:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 05 Apr 2018 17:13:55 -0400 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=H0dTDdn5ZU6E5Eh7B684xLBFeP i1ZspEDYVkMwWvF/Y=; b=E7bGkL8cfhuAJ3AHHRWhsriaHiDW/EnBYHeMMoK6Ey Z5FD1j5yZJmWYBgLFj31IZCYc3DDWhxPpTTl7CQtRmu/xec+GHUz1bO3bw1Y/g1V tpcRYK4M6wwtdP7NA/lGBfIYdKitMYLtjfVXUvfi2NEPINU5Ci7XjefcS8A2WbfP s= 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=fm2; bh=H0dTDd n5ZU6E5Eh7B684xLBFePi1ZspEDYVkMwWvF/Y=; b=GaZcgQ5BMCLJtUjIdg8UJ/ JCfn7u1vHSYb2SqqF6gMvNtFYXxX816Zi8Nq/CnfuYPqE3Kj7eIxqpgeYNZ3lzme XXifNcUairfKheRiqKkTrW8DLynbNbsV26MFPeiKhbCKBCRS7+AM2xK7jh1S04Cu eyHbBJ7OkblSqRH4ykaABQTLHcVaoi1dhibtLHWANKDlVTylPZ2InM5JUlO73mrd LIoEnrjCvRAOSm0NrTbgB8zMIpQ7eNTVpgrKDC7ZFRRLdeDUErcFUCw/xLfDdEds cYd8JlZBegUpRmAXTTQ11Q99QZVuZIVKyPjNbwvMP6bbF+jENFq6shEcygcMwxow == 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 C21C2E43C8; Thu, 5 Apr 2018 17:13:54 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: Stephen Hemminger , dev@dpdk.org Date: Thu, 05 Apr 2018 23:13:54 +0200 Message-ID: <21769641.JDxLthIqDH@xps> In-Reply-To: <20180405140329.3595edb8@xeon-e3> References: <20180405191305.26813-1-sthemmin@microsoft.com> <1607753.vleKbttEpa@xps> <20180405140329.3595edb8@xeon-e3> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 2/3] usertools: add hv_uio_setup script 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: Thu, 05 Apr 2018 21:13:56 -0000 05/04/2018 23:03, Stephen Hemminger: > On Thu, 05 Apr 2018 22:43:39 +0200 > Thomas Monjalon wrote: > > > 05/04/2018 21:13, Stephen Hemminger: > > > Small script to rebind netvsc kernel device to Hyper-V > > > networking PMD. It could be integrated in dpdk-bind, but dpdk-bind > > > is focused on PCI, and that would get messy. > > > > > > Eventually, this functionality will be built into netvsc driver > > > (see vdev_netvsc as an example). > > > > I believe we should avoid creating such script. > > The direction to go, for hotplug, is to remove dpdk-devbind.py, > > and implement kernel binding in PMDs (with EAL helpers). > > > > In order to make this change happen, we should not > > add this hv_uio_setup.sh script. > > Yes, this is a temporary script like dpdk-bind, want to get rid of it > and do everything inside driver. That is the next step. If this is temporary, it is a step in the wrong direction which could confuse users. If it becomes definitive (design discussion in progress), then it should be merged in dpdk-devbind.py.