From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <nhorman@tuxdriver.com>
Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58])
 by dpdk.org (Postfix) with ESMTP id EFCA410C07
 for <dev@dpdk.org>; Wed, 21 Dec 2016 12:38:01 +0100 (CET)
Received: from cpe-2606-a000-111b-40ed-7aac-c0ff-fec2-933b.dyn6.twc.com
 ([2606:a000:111b:40ed:7aac:c0ff:fec2:933b] helo=localhost)
 by smtp.tuxdriver.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63)
 (envelope-from <nhorman@tuxdriver.com>)
 id 1cJfDU-0000po-LM; Wed, 21 Dec 2016 06:37:54 -0500
Date: Wed, 21 Dec 2016 06:37:02 -0500
From: Neil Horman <nhorman@tuxdriver.com>
To: Andrew Rybchenko <arybchenko@solarflare.com>
Cc: Thomas Monjalon <thomas.monjalon@6wind.com>,
 Olivier Matz <olivier.matz@6wind.com>,
 Adrien Mazarguil <adrien.mazarguil@6wind.com>, dev@dpdk.org,
 vido@cesnet.cz, fiona.trahe@intel.com, stephen@networkplumber.org
Message-ID: <20161221113702.GA23197@hmsreliant.think-freely.org>
References: <1479808257-8725-1-git-send-email-olivier.matz@6wind.com>
 <1481809599-27896-1-git-send-email-olivier.matz@6wind.com>
 <20161216082332.GB10340@6wind.com> <2489002.JyIsi2jNCp@xps13>
 <96cb80d2-d0ff-b233-3e0a-226f0ec6109a@solarflare.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <96cb80d2-d0ff-b233-3e0a-226f0ec6109a@solarflare.com>
User-Agent: Mutt/1.7.1 (2016-10-04)
X-Spam-Score: -2.9 (--)
X-Spam-Status: No
Subject: Re: [dpdk-dev] [PATCH v3] drivers: advertise kmod dependencies in
 pmdinfo
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Dec 2016 11:38:02 -0000

On Wed, Dec 21, 2016 at 12:21:14PM +0300, Andrew Rybchenko wrote:
> On 12/20/2016 08:26 PM, Thomas Monjalon wrote:
> > > > Add a new macro RTE_PMD_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 <olivier.matz@6wind.com>
> > > > Acked-by: Fiona Trahe <fiona.trahe@intel.com>
> > > Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
> > Applied in main tree, thanks
> 
> Is there any plan on how it will be done/solved for a new drivers in
> dpdk-next-net?
> Should I care about it for sfc?
> 
Given that all pmdinfo information is opt-in (that is to say not obligatory),
you can now wait until net-next does its next rebase, and as you continue your
development of the sfc driver, you can add the use of this macro in at your
leisure.  As more people do that, we will arrive at 100% coverage
Neil

> Andrew.
> 
>