From: Saeed Mahameed <saeedm@mellanox.com>
To: "marcelo.leitner@gmail.com" <marcelo.leitner@gmail.com>
Cc: Vlad Buslov <vladbu@mellanox.com>, Roi Dayan <roid@mellanox.com>,
Oz Shlomo <ozsh@mellanox.com>, Paul Blakey <paulb@mellanox.com>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
"leon@kernel.org" <leon@kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH net] net/mlx5e: limit log messages due to (ovs) probing to _once
Date: Wed, 8 Apr 2020 22:38:52 +0000 [thread overview]
Message-ID: <54e70f800bc8f3b4d2dc7ddea02c1baa0036ea54.camel@mellanox.com> (raw)
In-Reply-To: <20200408215422.GA137894@localhost.localdomain>
On Wed, 2020-04-08 at 18:54 -0300, marcelo.leitner@gmail.com wrote:
> On Wed, Apr 08, 2020 at 07:51:22PM +0000, Saeed Mahameed wrote:
> ...
> > > > I understand it is for debug only but i strongly suggest to not
> > > > totally
> > > > suppress these messages and maybe just move them to tracepoints
> > > > buffer
> > > > ? for those who would want to really debug ..
> > > >
> > > > we already have some tracepoints implemented for en_tc.c
> > > > mlx5/core/diag/en_tc_tracepoints.c, maybe we should define a
> > > > tracepoint
> > > > for error reporting ..
> > >
> > > That, or s/netdev_warn/netdev_dbg/, but both are more hidden to
> > > the
> > > user than the _once.
> > >
> >
> > i don't see any reason to pollute kernel log with debug messages
> > when
> > we have tracepoint buffer for en_tc ..
>
> So we're agreeing that these need to be changed. Good.
I would like to wait for the feedback from the CC'ed mlnx TC
developers..
I just pinged them, lets see what they think.
but i totally agree, TC can support 100k offloads requests per seconds,
dumping every possible issue to the kernel log shouldn't be an option,this is not a boot or a fatal error/warning ..
>
> I don't think a sysadmin would be using tracepoints for
> troubleshooting this, but okay. My only objective here is exactly
> what
> you said, to not pollute kernel log too much with these potentially
> repetitive messages.
these types of errors are easily reproduce-able, a sysadmin can see and
report the errno and the extack message, and in case it is really
required, the support or development team can ask to turn on trace-
points or debug and reproduce ..
next prev parent reply other threads:[~2020-04-08 22:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-03 0:11 [PATCH net] net/mlx5e: limit log messages due to (ovs) probing to _once Marcelo Ricardo Leitner
2020-04-03 2:27 ` Saeed Mahameed
2020-04-03 2:48 ` marcelo.leitner
2020-04-08 19:51 ` Saeed Mahameed
2020-04-08 21:54 ` marcelo.leitner
2020-04-08 22:38 ` Saeed Mahameed [this message]
2020-04-08 22:42 ` marcelo.leitner
2020-04-12 8:14 ` Roi Dayan
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=54e70f800bc8f3b4d2dc7ddea02c1baa0036ea54.camel@mellanox.com \
--to=saeedm@mellanox.com \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=marcelo.leitner@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=ozsh@mellanox.com \
--cc=paulb@mellanox.com \
--cc=roid@mellanox.com \
--cc=vladbu@mellanox.com \
/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