On Thu, 15 Apr 2021 19:09:19 +0800
"Min Hu (Connor)" <humi...@huawei.com> wrote:

> +             RTE_ETHDEV_LOG(ERR, "Failed to get owner id by NULL\n");

This message is awkward wording.

It would be good time to fix something that has causes problems.
Redefine RTE_ETHDEV_LOG to include the function name.
There are several places where same log message can come from different
ethdev functions.

Then change the error you added to:
        RTE_ETHDEV_LOG(ERR, "NULL owner id");

Which would result in:
        eth_dev_owner_set: NULL owner id




Reply via email to