From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f68.google.com (mail-pl0-f68.google.com [209.85.160.68]) by dpdk.org (Postfix) with ESMTP id C59F21CDC2 for ; Thu, 5 Apr 2018 23:18:14 +0200 (CEST) Received: by mail-pl0-f68.google.com with SMTP id s24-v6so21047227plq.6 for ; Thu, 05 Apr 2018 14:18:14 -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=m1x7+iNvJyOZalowQ8RpZXZTAq+NOBQROJfm13lv+80=; b=L4XzfxdL+aM4F4iGdzxe2VOOMwfdkEJisnaMfs2EnHU8YbQip7oe4vVNYcgxNuE29M ObsIWsxaeyUMe7XL3OcQjfgTIWB+JTiRtABPbJXEfohhtCxhTClSk8nsuGYx2LQ0yENL 25Ne5d0gHlQpgpxrLXVCBcCMzzbDNRaWN0kpt9+Yd/meKhnaHZJOvgEzLXqdfFdOQtNQ irzM29BdTSofaTVgzxW2gyksx2QblyhwJct6vrTQBWeI6urKV9egtDlYoiXYl2PiOjm5 6RzTw/mIhxopYz0CvPkB4HTOQddAvxYUPI/puYEHSQTRoBCKCj1gtLrkh8R6JOx5DqUG obEA== 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=m1x7+iNvJyOZalowQ8RpZXZTAq+NOBQROJfm13lv+80=; b=Qlt/qYWYVNHRcUuHKW/ShHhRfCzQsaOcL3r3cKl53T4aj/iH836Px9RhlYnXaj3wgM DA9wQi261zcy3DIg3vg7ljlsADDeXbioM+5Id0WfqiYWJGYmLJQ9RaHX+uN1y9tJIvOW JADV9ZRmzEw9oLhToKRQD2jojGEzKrnvQSVm+L1dCrs4odqeXWHCZeg8mycvUGtVlto3 8SXsZyWUpetNHy5GPPkf9NqkL35Ly2UALZj3JYMbmoqJPRXeNvJh9xH35pnjYFOtnd/d QRGsT7Xtym2fkGJfU0mtHg/V+EClY0TLKGGV29sR/QA9RQ8t14GgPuRpIa1lZZjk3ecV 5jKQ== X-Gm-Message-State: ALQs6tA8d7YoNVMlCAFvjjHaxART1CntHBSj1O1Nsq1ciOgWOSnWDR8D ow7VhhnA3QyRHnOiHXQt+8MYLw== X-Google-Smtp-Source: AIpwx49n/cBhRCxewYxgETzxRXkvnz7Ih+3WqsDJryJFJZJfkVDukn+pVyHoQbaEsBOaoo9FXY6LsA== X-Received: by 10.98.74.17 with SMTP id x17mr6691159pfa.91.1522963093984; Thu, 05 Apr 2018 14:18:13 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id c186sm10486871pfb.40.2018.04.05.14.18.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Apr 2018 14:18:13 -0700 (PDT) Date: Thu, 5 Apr 2018 14:18:12 -0700 From: Stephen Hemminger To: Thomas Monjalon Cc: Stephen Hemminger , dev@dpdk.org Message-ID: <20180405141812.3e2e619d@xeon-e3> In-Reply-To: <21769641.JDxLthIqDH@xps> References: <20180405191305.26813-1-sthemmin@microsoft.com> <1607753.vleKbttEpa@xps> <20180405140329.3595edb8@xeon-e3> <21769641.JDxLthIqDH@xps> 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: Thu, 05 Apr 2018 21:18:15 -0000 On Thu, 05 Apr 2018 23:13:54 +0200 Thomas Monjalon wrote: > 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. > > This is an experimental driver, if everyone waits until everything is done there would be no review or testing.