Re: [PATCH v3 01/14] net/sxe: add base driver directory and doc

Stephen Hemminger
2025-07-07T15:00:46Z

On Mon, 7 Jul 2025 07:58:06 -0400
Jie Liu <liujie5@linkdatatechnology.com> wrote:

> +Dynamic Logging Parameters
> +~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
> +One may leverage EAL option "--log-level" to change default levels
> +for the log types supported by the driver. The option is used with
> +an argument typically consisting of two parts separated by a colon.
> +
> +SXE PMD provides the following log types available for control:
> +
> +- ``pmd.net.sxe.drv`` (default level is **DEBUG**)
> +
> + Affects driver-wide messages unrelated to any particular devices.
> +
> +- ``pmd.net.sxe.init`` (default level is **DEBUG**)
> +
> + Extra logging of the messages during PMD initialization.
> +
> +- ``pmd.net.sxe.rx`` (default level is **DEBUG**)
> +
> + Affects rx-wide messages.
> +- ``pmd.net.sxe.tx`` (default level is **DEBUG**)
> +
> + Affects tx-wide messages.
> +
> +------------------------------

Other drivers default to INFO or NOTICE level.
Having a default of DEBUG implies the driver is not tested enough.