From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id 546521041 for ; Fri, 21 Sep 2018 13:53:31 +0200 (CEST) Received: by mail-wm1-f67.google.com with SMTP id f21-v6so2749175wmc.5 for ; Fri, 21 Sep 2018 04:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=NnJzdfxUc0PLQOUUO51ZwewgxlhcybDEuGxjb4/QXMM=; b=QfSik5eLYZHmyuLTRI/w7LXZZXqE1gHYGerQGhNzCFzFJarXHTp49MQ1uPF9Yy1d1Y lqNuqrgf1M3ANGTrEuwj/vSzt5h5xot/abDu6RxV4HgXJ5AZ7k6TdZcpJm9cEstq7Gpc 2wXfq55x3grIljF1a+v6fbBgFES89jb/PgHyLaFrRgwkRVpNRYdof7Glax9UpSW94EAS vrJMuYbHr3pPKCiUgCnERaep5KYMPbhBO3gsr0O/n9hL48fG35pRUc62PNgqr8nWZ2Nx chJgRATsiFykCKlUbHi4UwQYYt9+tJhlzzl2jy2zeb971G+3OBhXhTZcRsTQ2+PIPkPG HUQw== 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:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=NnJzdfxUc0PLQOUUO51ZwewgxlhcybDEuGxjb4/QXMM=; b=TH64n9MQs6SM7oL+oRhQrHbw20MmNlRuKePdMu7uZydZzVPZQ6aJzWZtffzgDhKtDY JuG8BrEffYFGUQgTneFvlkBL9MLSg97oB3FvhhFOUW9C2EtC1uudlFXylhChu+Wl+CK7 GCY1jCf/RUTRNhFBDtBtkngMgTQvNDIdVW58dttHCJA12hAYaO5G1l2RwbzZZUA2ogRB EqQm8gn0y4p7uJ6YjdF0bYQ54CpBSkPiBxz4qqttJTBJBGOYvWwzab3CH2Wd6oSMyKNh IOmgxNPGMw3UnIhbAgYoLUmJDOErld539EqNfWA0ZIwxRkVeehvivpsLGDHxh+XzKZX/ xVTA== X-Gm-Message-State: APzg51DIAUwRmebtESY9B++TFLvinfDi2VqO/BsPx0eWvJZHX+6pIoWx 7j5PKRJhLDRShgoc5+FPNSddzQ== X-Google-Smtp-Source: ANB0VdZkU0PsSPOaFYU0PnjJ8yaGxGPmT6z+SldZNMXuJgpszthXK6cZFwC9V3RsVv3hM5r4cAQWPw== X-Received: by 2002:a1c:c7c3:: with SMTP id x186-v6mr5264753wmf.109.1537530810744; Fri, 21 Sep 2018 04:53:30 -0700 (PDT) Received: from bidouze.vm.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id y137-v6sm4674982wmc.3.2018.09.21.04.53.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 21 Sep 2018 04:53:29 -0700 (PDT) Date: Fri, 21 Sep 2018 13:53:12 +0200 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet To: Thomas Monjalon Cc: dev@dpdk.org Message-ID: <20180921115312.sdegsb3ko2mbf7hc@bidouze.vm.6wind.com> References: <2305853.Xkr2rJqqKv@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2305853.Xkr2rJqqKv@xps> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v2 04/13] bus/vdev: add device matching field driver 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, 21 Sep 2018 11:53:31 -0000 On Thu, Sep 20, 2018 at 06:11:44PM +0200, Thomas Monjalon wrote: > 19/09/2018 18:03, Gaetan Rivet: > > The vdev bus parses a field "driver", matching > > a vdev driver name with one passed as follows: > > > > "bus=vdev,driver=xxxx" > > I think the property should be "name". > We already have a "driver" category. > So it may be "bus=vdev,name=mytap/driver=tap" > > Until now we were using the name of the driver as a prefix for > the device name because it was the only way of knowing the driver to use. > With a richer syntax like above, this restriction can be removed. Do you want all buses to read the driver= key and use it to know which driver to probe, or is it an exception of the vdev bus? -- Gaëtan Rivet 6WIND