From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by dpdk.org (Postfix) with ESMTP id AAFB81CDCB for ; Fri, 6 Apr 2018 00:39:28 +0200 (CEST) Received: by mail-pl0-f67.google.com with SMTP id bj1-v6so18911766plb.8 for ; Thu, 05 Apr 2018 15:39:28 -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=5Lpo1XBpAHyHaiAYlmk3uI6qQhkkz299Bx5SD9pR34k=; b=nRlPAl+Yv/kuxt/+E4dMLqJ0YhoJOs6FHWhmrYqfwXu/hHilPbSUomzzfy+D6zcobD 0ob6lWlRTw1VhdpPHTC39Ity9wR0Ru1uEn+FWLVSYJg+gN+k091WeN+tqU2Sxrz+F3fI GdlBtRSi2qwsSo/YZhndBddjNtsYWu+NCgGTXJ6uFzlGzFbr/pvvB14Jh+pQcUAgS06s DNHq4VBTxZrVmLP/XwHLyXghai4k0gYJisHSKhccZfwvEftxs9y+G7b4KaIRHjQP/gfq 6npNikSRUkHHqX8RZuCozki0wdJi3AeYWATPywDbG44nnt8IZOtZNDi5Xn+msOCQ+Qj6 +xwQ== 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=5Lpo1XBpAHyHaiAYlmk3uI6qQhkkz299Bx5SD9pR34k=; b=N1v+VlhemEMbhqPMW2if7LQYS6paDvsl94Z7FPFpq8WhLGO+raRH+J/U3lz3EeiXPF 8ATHQHI8GyrW9te2HH4w7sYDlzGYu1d/3/HOAvhDdHQE0vWf3nEqSPx4eaaAYmZ6DMyK Aj4huwWpUpo++M4CDU/ePlgy1aPWizmC9W1fZoDgG2v3z7lwooBTxbqYiNmvXZJ+tvIr ztPkxJzbh6TNPRo79WutIX35HUs7+ucVK/GBQolzfMBEft7GJ6Lw1SWT4nov0hnH+zBV 6nd8vx9FQR0CVWE3dDm5CnECEQ6Nld2HABJgMRiro6bZ4mmQ4P8MTseDIR8EAPWvoIEo akKw== X-Gm-Message-State: AElRT7GMI9h4FJNPt+Wx4UtXgmSJHpBtZY2hjMQFeCb8UnkC9UYRtClL JbEXVSFL/Lx+jAsCwuuEI5pqzQ== X-Google-Smtp-Source: AIpwx4/cZwMEfvhPehrc5E+XETpbW39Y3wyn+zCxxl+HENZkHPv8H7uXmk+/xVIFwRgjDDWbuMFIhA== X-Received: by 10.101.97.165 with SMTP id i5mr15888852pgv.449.1522967967734; Thu, 05 Apr 2018 15:39:27 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id f22sm17766195pff.146.2018.04.05.15.39.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Apr 2018 15:39:27 -0700 (PDT) Date: Thu, 5 Apr 2018 15:39:25 -0700 From: Stephen Hemminger To: Thomas Monjalon Cc: Stephen Hemminger , dev@dpdk.org Message-ID: <20180405153925.7b571d2a@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 22:39:28 -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. Right now PCI does it the same way. It doesn't have a good cold plug interface. The whole PCI probe logic expects that the device will have a vfio/uio already bound. When PCI is fixed, then VMBUS can be changed to the same thing.