From: Matan Azrad <matan@mellanox.com>
To: Stephen Hemminger <stephen@networkplumber.org>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] ethdev: ownership change log message priority change
Date: Thu, 2 Aug 2018 06:40:36 +0000 [thread overview]
Message-ID: <AM0PR0502MB4019F970512B39D19BE3BFA8D22C0@AM0PR0502MB4019.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <20180801174356.655-1-stephen@networkplumber.org>
From: Stephen Hemminger
> Changing ownership of a port is a normal event, and should not be logged at
> ERR priority. Downgrade to a DEBUG message.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Matan Azrad <matan@mellanox.com>
> ---
> lib/librte_ethdev/rte_ethdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev/rte_ethdev.c
> index 2e40c3fba99a..c7ab15722f98 100644
> --- a/lib/librte_ethdev/rte_ethdev.c
> +++ b/lib/librte_ethdev/rte_ethdev.c
> @@ -463,7 +463,7 @@ _rte_eth_dev_owner_set(const uint16_t port_id, const
> uint64_t old_owner_id,
>
> port_owner->id = new_owner->id;
>
> - RTE_ETHDEV_LOG(ERR, "Port %u owner is %s_%016"PRIx64"\n",
> + RTE_ETHDEV_LOG(DEBUG, "Port %u owner is %s_%016"PRIx64"\n",
> port_id, new_owner->name, new_owner->id);
>
> return 0;
> --
> 2.18.0
next prev parent reply other threads:[~2018-08-02 6:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-01 17:43 Stephen Hemminger
2018-08-02 6:40 ` Matan Azrad [this message]
2018-08-02 7:00 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM0PR0502MB4019F970512B39D19BE3BFA8D22C0@AM0PR0502MB4019.eurprd05.prod.outlook.com \
--to=matan@mellanox.com \
--cc=dev@dpdk.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).