Re: [PATCH net-next 1/7] net: hns3: add ethtool_ops.set_channels support for HNS3 VF driver

From: tanhuazhong
Date: Tue Sep 10 2019 - 22:02:19 EST




On 2019/9/11 1:25, David Miller wrote:
From: Huazhong Tan <tanhuazhong@xxxxxxxxxx>
Date: Tue, 10 Sep 2019 16:58:22 +0800

+ /* Set to user value, no larger than max_rss_size. */
+ if (kinfo->req_rss_size != kinfo->rss_size && kinfo->req_rss_size &&
+ kinfo->req_rss_size <= max_rss_size) {
+ dev_info(&hdev->pdev->dev, "rss changes from %u to %u\n",
+ kinfo->rss_size, kinfo->req_rss_size);
+ kinfo->rss_size = kinfo->req_rss_size;

Please do not emit kernel log messages for normal operations.


Will remove this log in V2.
Thanks.

.