From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f47.google.com (mail-pl0-f47.google.com [209.85.160.47]) by dpdk.org (Postfix) with ESMTP id DE2821CDE2 for ; Thu, 5 Apr 2018 23:20:20 +0200 (CEST) Received: by mail-pl0-f47.google.com with SMTP id k6-v6so15953517pls.5 for ; Thu, 05 Apr 2018 14:20:20 -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=ynCvnf4GffGLlL4rexk1QLZMuA8428AqWqrhT/SerHw=; b=Nr04rQ8Yo5sBUocxI0qbINxgkXEgrvfvpYDNBi2lDHGBQxk3H8OcgDK+EXen8ubQBE UTPhPbvMDoBJH7uTL8H70q50ta4A9+wFBI4vH5rh4UbqYTPxG17IlLTTZIhJcK0EMrGo 4usvMbx3wLR7EmCSHqJskbErL97vtBJquY3V4XcKP8fWU588HcV68DNHzoWB3PpDKgvd pefjjVs3Oap9HIdc9M+XJqkHIxIT6dw1EqTNFdzN+3qQyjS7TDCLyByo8kVQDadoWr+I LAH8ixcqavaZzBeCUi4Jel0hsPfaYZM4Uwa2Kk1iCdSVWpGtPZ25uNpw6CbPLBir09O2 9DrQ== 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=ynCvnf4GffGLlL4rexk1QLZMuA8428AqWqrhT/SerHw=; b=g1kjJP5lK0jSrJ1OlZ+vvxEGuXjnCdnZHf8EQyF10qowSns/kydFWmdmD0ug0smd1D Xgzsi5WTGo4/hrb5o4joYKuk9IvrLGh3pCfR0yIJq+e0ONjFxCiRcvQCf0ewK8TM8+Ss iKtwhHvcspZbEr5Nco+GxWOrdw/EffzvA/N3FvfGnCndkPNu2bvYVVfhkKNnPw9Bim9J vdeVyEbJk6OV26Z3VfRYZqQCWF5KTep1Ng6UPVqyD1Pi708wkvqmSy97KeRESkBLVaTc 1TN1PdD05PgJllk4ChJ6IywTCLmVXTS1wzVJz++nWoOtM7dSsYI6GcG8KhUlVerli5fi AxWA== X-Gm-Message-State: AElRT7ESOYnNF8y7NyPkY0PfCZuUTmOnRYGAEGnmuL71SNTM+dQBjtTO Z4DMWtAvtpMqDHIGrokfNOjsVg== X-Google-Smtp-Source: AIpwx4//BYDKm0wOtt0ij1UE2XGNMZfPcbkBbbZwLmXM98k/RI6PWQonIyMGfgXgMjkxcnL4y/nMbw== X-Received: by 2002:a17:902:9305:: with SMTP id bc5-v6mr24052594plb.18.1522963220104; Thu, 05 Apr 2018 14:20:20 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id x3sm12956620pgv.86.2018.04.05.14.20.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Apr 2018 14:20:20 -0700 (PDT) Date: Thu, 5 Apr 2018 14:20:18 -0700 From: Stephen Hemminger To: Thomas Monjalon Cc: Stephen Hemminger , dev@dpdk.org Message-ID: <20180405142018.1fbd42f9@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:20:21 -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. I looked into changing dpdk-devbind.py but it needed lots of work and to be honest the time for me to do it python was too much trouble and likely to break existing users.