[dpdk-dev] [PATCH v3] drivers: advertise kmod dependencies in pmdinfo

Neil Horman nhorman at tuxdriver.com
Wed Dec 21 12:37:02 CET 2016


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 at 6wind.com>
> > > > Acked-by: Fiona Trahe <fiona.trahe at intel.com>
> > > Acked-by: Adrien Mazarguil <adrien.mazarguil at 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.
> 
> 


More information about the dev mailing list