From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 96C97374F for ; Mon, 19 Sep 2016 14:26:04 +0200 (CEST) Received: from [37.165.97.108] (helo=[192.168.42.200]) by mail.droids-corp.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1blxh0-0003iP-KR; Mon, 19 Sep 2016 14:29:03 +0200 To: Bruce Richardson , David Marchand References: <1472217646-26219-1-git-send-email-olivier.matz@6wind.com> <1473949355-6787-1-git-send-email-olivier.matz@6wind.com> <20160919081726.GA23360@bricha3-MOBL3> Cc: Neil Horman , Thomas Monjalon , vido@cesnet.cz, fiona.trahe@intel.com, Stephen Hemminger , "dev@dpdk.org" From: Olivier Matz Message-ID: <5b6baf3d-58a4-8546-e5ba-bd9514d4019d@6wind.com> Date: Mon, 19 Sep 2016 14:25:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160919081726.GA23360@bricha3-MOBL3> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] drivers: advertise kmod dependencies in pmdinfo X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2016 12:26:04 -0000 Hi, On 09/19/2016 10:17 AM, Bruce Richardson wrote: > On Fri, Sep 16, 2016 at 04:26:35PM +0200, David Marchand wrote: >> On Thu, Sep 15, 2016 at 4:22 PM, Olivier Matz wrote: >>> Add a new macro DRIVER_REGISTER_KMOD_DEP() that allows a driver to >>> declare the list of kernel modules required to run properly. >>> >>> Today, most PCI drivers require uio/vfio. >>> >>> Signed-off-by: Olivier Matz >> >> Thanks Olivier, this looks good to me. >> >> Btw, I remember some issues with binding ixgbevf devices to >> uio_pci_generic, so advertising should be carefully checked for each >> driver. > > +1 here. In general, uio_pci_generic will not bind to VF devices as VF devices > don't provide legacy interrupts, which is required to use uio_pci_generic. It's > not limited to just ixgbevf Thanks for commenting, I'll remove uio_pci_generic from *vf drivers in next version. Olivier