From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 24CEF29CF for ; Mon, 19 Sep 2016 10:17:31 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 19 Sep 2016 01:17:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,361,1470726000"; d="scan'208";a="1053151427" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.73]) by orsmga002.jf.intel.com with SMTP; 19 Sep 2016 01:17:28 -0700 Received: by (sSMTP sendmail emulation); Mon, 19 Sep 2016 09:17:27 +0025 Date: Mon, 19 Sep 2016 09:17:27 +0100 From: Bruce Richardson To: David Marchand Cc: Olivier Matz , Neil Horman , Thomas Monjalon , vido@cesnet.cz, fiona.trahe@intel.com, Stephen Hemminger , "dev@dpdk.org" Message-ID: <20160919081726.GA23360@bricha3-MOBL3> References: <1472217646-26219-1-git-send-email-olivier.matz@6wind.com> <1473949355-6787-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) 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 08:17:32 -0000 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 /Bruce