[dpdk-dev] [PATCH v2 3/3] bus/pci: only consider usable devices to select IOVA mode

Thomas Monjalon thomas at monjalon.net
Fri Jul 5 10:26:01 CEST 2019


04/07/2019 19:14, Stephen Hemminger:
> On Fri, 14 Jun 2019 11:39:17 +0200
> David Marchand <david.marchand at redhat.com> wrote:
> 
> >  	/* Supports only RTE_KDRV_NIC_UIO */
> > +	if (pdev->kdrv != RTE_KDRV_NIC_UIO)
> > +		RTE_LOG(DEBUG, EAL, "Unsupported kernel driver? Defaulting to IOVA as 'PA'\n");
> 
> Maybe NOTICE level, rather than DEBUG which is usually suppressed.

DEBUG may be enough here, as it is not something unexpected.
The IOVA choice will be printed in INFO level:
       RTE_LOG(INFO, EAL, "Selected IOVA mode '%s'\n",
               rte_eal_iova_mode() == RTE_IOVA_PA ? "PA" : "VA");





More information about the dev mailing list