[RFC v3 07/26] dev: hide debug messages in device iterator
    Bruce Richardson 
    bruce.richardson at intel.com
       
    Thu Jul 28 18:33:41 CEST 2022
    
    
  
On Thu, Jul 28, 2022 at 05:26:21PM +0200, David Marchand wrote:
> For any bus that does not support device iteration, rte_dev_iterator_init
> both returned an error code and logged an error message.
> An application (like testpmd) that only wants to list devices, would have
> no choice but to inspect a bus object to avoid spewing error logs.
> 
> Make those log messages debug level, and remove the check in testpmd.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
    
    
More information about the dev
mailing list