[PATCH] ethdev: prefer offload names in logs
Stephen Hemminger
stephen at networkplumber.org
Thu Mar 9 17:21:11 CET 2023
On Thu, 9 Mar 2023 09:16:33 +0100
David Marchand <david.marchand at redhat.com> wrote:
> + RTE_ETHDEV_LOG(ERR, "Ethdev port_id=%u requested Rx offloads '%s' in %s(). "
> + "Device supports '%s' Rx offloads but does not support '%s'.\n",
> + port_id, requested != NULL ? requested : "N/A", __func__,
> + available != NULL ? available : "N/A",
> + unavailable != NULL ? unavailable : "N/A");
> + free(requested);
Please shorten message and make sure it does not cross line boundaries.
Best to allow users to do simple search for message.
More information about the dev
mailing list