[PATCH v4] eal: add bus cleanup to eal cleanup

Stephen Hemminger stephen at networkplumber.org
Tue May 24 16:48:57 CEST 2022


On Tue, 24 May 2022 10:25:01 +0100
Kevin Laatz <kevin.laatz at 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.


More information about the dev mailing list