On 24/05/2022 15:48, Stephen Hemminger wrote:
On Tue, 24 May 2022 10:25:01 +0100
Kevin Laatz <kevin.la...@intel.com> wrote:

+
+               RTE_LOG(DEBUG, EAL,
+                               "Clean up PCI driver: %s (%x:%x) device: 
"PCI_PRI_FMT" (socket %i)\n",
+                               drv->driver.name, dev->id.vendor_id, 
dev->id.device_id,
+                               loc->domain, loc->bus, loc->devid, 
loc->function,
+                               dev->device.numa_node);
+
No message is needed here.>

+                       RTE_LOG(ERR, EAL, "Cleanup for device "PCI_PRI_FMT" 
failed\n",
+                                       dev->addr.domain, dev->addr.bus, 
dev->addr.devid,
+                                       dev->addr.function);
As Bruce said, the driver probably already logged something.
So no message, or make it a DEBUG message.
Ack, will remove unnecessary logging in v5.

Reply via email to