bus/pci: reduce boot-up logs to absolute minimum
authorJerin Jacob <jerinj@marvell.com>
Mon, 4 May 2020 13:26:53 +0000 (18:56 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 11 May 2020 14:36:00 +0000 (16:36 +0200)
commite4f27af0f448cdf97fa320a9f429734a387e4543
treefc255b9b65790d7bbe5eeae77f3f3f34ab1feee6
parent205032bbfcf09a1fd9bea715eafb5c97ca73772c
bus/pci: reduce boot-up logs to absolute minimum

Some machines may have a lot of PCI devices and all of them are
not bound to DPDK. In such case the logs from EAL creates a lot of
clutter on boot-up, typically one needs to scroll the screen to
find other issues in boot-up.

This patch changes the following to reduce the clutter in
the default boot-up logs.

- Change the log-level of PCI probes to `debug`
- Introduce new driver probe as `info` log-level for the successful probe.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
drivers/bus/pci/pci_common.c