mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "luobin (L)" <luobin9@huawei.com>
To: David Miller <davem@davemloft.net>
Cc: <linux-kernel@vger.kernel.org>, <netdev@vger.kernel.org>,
	<luoxianjun@huawei.com>, <yin.yinshi@huawei.com>,
	<cloud.wangxiaoyun@huawei.com>, <chiqijun@huawei.com>
Subject: Re: [PATCH net-next v3 0/5] hinic: add some ethtool ops support
Date: Sun, 28 Jun 2020 08:58:26 +0800	[thread overview]
Message-ID: <073f94da-c36c-e737-3b41-7671a942eb7b@huawei.com> (raw)
In-Reply-To: <20200627.175224.2220574097858458030.davem@davemloft.net>

On 2020/6/28 8:52, David Miller wrote:
> From: Luo bin <luobin9@huawei.com>
> Date: Sat, 27 Jun 2020 14:52:37 +0800
> 
>> patch #1: support to set and get pause params with
>>           "ethtool -A/a" cmd
>> patch #2: support to set and get irq coalesce params with
>>           "ethtool -C/c" cmd
>> patch #3: support to do self test with "ethtool -t" cmd
>> patch #4: support to identify physical device with "ethtool -p" cmd
>> patch #5: support to get eeprom information with "ethtool -m" cmd
> 
> In general,  I want you to decrease the amount of log messages.
> 
> You should only use them when the device or the kernel does something
> unexpected which should be notifier to the user.
> 
> Kernel log messages are not for informating the user of limitations
> of what they can perform with "ethtool".
> 
> For example, when setting pause paramenters, you complain in the logs
> if the autonet setting is different.
> 
> This is completely inappropriate.
> 
> Then in patch #2 you have these crazy macros that print out state
> changes with netdev_info().  That is also inappropriate.  The user
> gets a success status, and they can query the settings later if
> they like as well.
> 
> Please stop abusing kernel log messaging, it isn't a framework for
> giving more detailed ethtool command result statuses.
> 
> Thank you.
> .
> 
Okay, I'll remove these normal kernel logs. Thank you for your review.

      reply	other threads:[~2020-06-28  0:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-27  6:52 Luo bin
2020-06-27  6:52 ` [PATCH net-next v3 1/5] hinic: add support to set and get pause params Luo bin
2020-06-27  6:52 ` [PATCH net-next v3 2/5] hinic: add support to set and get irq coalesce Luo bin
2020-06-27  6:52 ` [PATCH net-next v3 3/5] hinic: add self test support Luo bin
2020-06-27  6:52 ` [PATCH net-next v3 4/5] hinic: add support to identify physical device Luo bin
2020-06-27  6:52 ` [PATCH net-next v3 5/5] hinic: add support to get eeprom information Luo bin
2020-06-28  0:52 ` [PATCH net-next v3 0/5] hinic: add some ethtool ops support David Miller
2020-06-28  0:58   ` luobin (L) [this message]

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=073f94da-c36c-e737-3b41-7671a942eb7b@huawei.com \
    --to=luobin9@huawei.com \
    --cc=chiqijun@huawei.com \
    --cc=cloud.wangxiaoyun@huawei.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luoxianjun@huawei.com \
    --cc=netdev@vger.kernel.org \
    --cc=yin.yinshi@huawei.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

all inboxes | Powered by JetHome®