From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f65.google.com (mail-pl0-f65.google.com [209.85.160.65]) by dpdk.org (Postfix) with ESMTP id 475BA1CE1C for ; Fri, 6 Apr 2018 02:22:45 +0200 (CEST) Received: by mail-pl0-f65.google.com with SMTP id z5-v6so3403632pln.1 for ; Thu, 05 Apr 2018 17:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4Hvz89L18AGJXEI1mJNPkJEVHJc3SiJt2OX3OHbon4w=; b=SJ79m32AfZ0AMWC/N5URrSYnmRNPB2Ym12bYxASZ2aEFB2gD/HfC5uNGlCLkfkoJfo HsW7Ccd0jwqQwXEKv4MoyelXefIFNNIbb/KazlukblIhdHjlC4CB8HEzAKwV+EDbeiue /5ojBG8+0a5hLGwxmn+epMAKhx+T6c9EPZ1Xo+BOeIKHjbptC9TIknwjUTwU/ezPKTNp 3BtoevzvTRnwaxkRVWa3PTI8KNj8BqpreY9RCx6ryb071+eShZ+Jv4O6qDAtW67ckj/4 8jHvFWphIcllv/2SkywGlSkjkLzgdjTG9zTNzrrEms06R0I+c0av1eCQrvqPcqr8Nb87 50rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4Hvz89L18AGJXEI1mJNPkJEVHJc3SiJt2OX3OHbon4w=; b=F9k54YwFtrFy9HGgidaxVj3XRA3iIk8pCpfS94rtO5RKR+gnD0HIBrTeDqFIdCtfqe X0bBk9B3yMi7qxgubr7JRom+TQLqMhGB/pC2euJL+L4Miuv6Yh16c7ASYo2Ie2QdZDzY KTIfj1OgPPsCUJEPKna40Y0hSKKAaAQ/OLh/HD9FqdQO1g3FsDxPgjyPs47ZKfzeKMjP Cfewt+CA6usOvxMXzRd2/FSLYmA1YpkMlG9fGN3XtVNwRMgmjPyD3KrVKJogSL0RxrhO YpHT89KQ/J9egQbANLm5E0MDo1gslOK1IUtai2MqSl3Lf1JwNGT5S0Bsy8/Bu+j5Vgfn 2EfA== X-Gm-Message-State: AElRT7FjgaiotozrCtS3sow5AoqT9flopN+Al7DzAkrYsNvX5wnioJYl IjubvocOUdGDLaE7hdeFLe8jOA== X-Google-Smtp-Source: AIpwx4/6Mtgrexl+Y7OHY9aUteNaEQDCYaPIwnoO0CSHZ/XKEwI/b/TkYv3QLy6PqBWcBXw3WAXB5A== X-Received: by 2002:a17:902:887:: with SMTP id 7-v6mr25337508pll.319.1522974164528; Thu, 05 Apr 2018 17:22:44 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id k24sm15442381pff.77.2018.04.05.17.22.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Apr 2018 17:22:44 -0700 (PDT) Date: Thu, 5 Apr 2018 17:22:42 -0700 From: Stephen Hemminger To: "Ananyev, Konstantin" Cc: Thomas Monjalon , "Richardson, Bruce" , Stephen Hemminger , "dev@dpdk.org" Message-ID: <20180405172242.5e63ac29@xeon-e3> In-Reply-To: <2601191342CEEE43887BDE71AB977258A0AB9CCD@irsmsx105.ger.corp.intel.com> References: <20180405191305.26813-1-sthemmin@microsoft.com> <1607753.vleKbttEpa@xps> <20180405210734.GA85168@bricha3-MOBL.ger.corp.intel.com> <1792191.Hreas2QKXW@xps> <2601191342CEEE43887BDE71AB977258A0AB9CCD@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Fri, 06 Apr 2018 00:22:45 -0000 On Thu, 5 Apr 2018 23:57:47 +0000 "Ananyev, Konstantin" wrote: > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon > > Sent: Thursday, April 5, 2018 10:11 PM > > To: Richardson, Bruce > > Cc: Stephen Hemminger ; dev@dpdk.org; Stephen Hemminger > > Subject: Re: [dpdk-dev] [PATCH 2/3] usertools: add hv_uio_setup script > > > > 05/04/2018 23:07, Bruce Richardson: > > > On Thu, Apr 05, 2018 at 10:43:39PM +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). > > > > > > > I'm not convinced at all that that is the direction to go. I instead would > > > prefer to see all binding happen outside DPDK. I believe having udev or > > > similar manage bindings, set up via e.g driverctl[1], is a far better path. > > > > This is a system admin tool, and only for Linux. > > Having the binding logic inside DPDK, allows the application to control > > how hotplug behave. > > I also don't think that DPDK application should control hotplug behavior logic. > It is clearly up to the system admin to make such decisions. > Konstantin My preference would be to get driverctl working as a standard tool. But it requires kernel changes to work with vmbus.