Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1111960ybi; Fri, 14 Jun 2019 08:50:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqzb0LerpM95TRdFcARbTqKc0g4+awchKlmGlsUAIxbd1pyzP9TsmRW3je2XVoJyWNvrj9Ei X-Received: by 2002:a17:902:9004:: with SMTP id a4mr22070863plp.109.1560527419033; Fri, 14 Jun 2019 08:50:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560527419; cv=none; d=google.com; s=arc-20160816; b=GP1gsOU3xKZYB82I79gwbUO/e44I2D7MDk0p+9WML31qfW31s+BjFwX75GjZeEzmcN 6ziZFIk3fzFSMf797Pfu0QOR0703YOVJiIIsrIoJyyA+p4TLY18YJdPS71WwyJwCigiC XNIsoAaDAQJdBLinR/gsLdyGAJp1jtxzUBaSBuUf/3TDn+xX8MqXWZbm0+WLW8WZGBsD fRCh+yuXvhjzqBWRf7+aK51gyKo2GZNPoAYUIjD+d2WPWGaze3RaYHpe3l+boXH8WR5/ 5EtEQQcN/llSytgjJVDMxU6bwLPJ5UoncAaGCaasxkUaFJEI86ydfc8yey/rV5iElEOr yNtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=sCVn0hl1QzGHb6RD5xBdqYfJNopx1vjV7zBkodY4bJU=; b=V2zJ9RkRTniChQA+VZq1vxqsP+VBNn+VnDyUAwJ/bF7YTVmlxq0DfVWJ3HN7V/PiT/ cKGpK8jkeYyUqk5PEHARlhaLbuw96JC+6PSUKHu2bzqsIF98AW8mZpG1Z70ZZVM922lE vgv52nu0OciK3ejhJ2pQDSN0FJRFQTmBTaG2i0nWWDNeiiqCpMea/9ZsbHHEMlE5JipK fTnua8HXtWkeT3ywf++Be6vMPVyg2lAKqigHYc9R9kgoIL3NuMHFKvVOuJ+wx32PeMA2 ejMqv5tscJhTVemoaDOq+SGsYOxVBIuQeg/jjJtDMslOBIiCLjo4dcQnxL889f+/acJO xxhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f62si2597829plf.88.2019.06.14.08.50.03; Fri, 14 Jun 2019 08:50:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726468AbfFNPt1 (ORCPT + 99 others); Fri, 14 Jun 2019 11:49:27 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:45350 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725801AbfFNPt0 (ORCPT ); Fri, 14 Jun 2019 11:49:26 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 6BA23148BD7FF; Fri, 14 Jun 2019 08:49:26 -0700 (PDT) Date: Fri, 14 Jun 2019 08:49:25 -0700 (PDT) Message-Id: <20190614.084925.1041124966442067512.davem@davemloft.net> To: mkubecek@suse.cz Cc: xuechaojing@huawei.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, luoshaokai@huawei.com, cloud.wangxiaoyun@huawei.com, chiqijun@huawei.com, wulike1@huawei.com Subject: Re: [PATCH net-next v3 2/2] hinic: add support for rss parameters with ethtool From: David Miller In-Reply-To: <20190614073209.GN31797@unicorn.suse.cz> References: <20190613015802.3916-1-xuechaojing@huawei.com> <20190613015802.3916-3-xuechaojing@huawei.com> <20190614073209.GN31797@unicorn.suse.cz> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 14 Jun 2019 08:49:26 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michal Kubecek Date: Fri, 14 Jun 2019 09:32:09 +0200 > On Thu, Jun 13, 2019 at 01:58:02AM +0000, Xue Chaojing wrote: >> This patch adds support rss parameters with ethtool, >> user can change hash key, hash indirection table, hash >> function by ethtool -X, and show rss parameters by ethtool -x. >> >> Signed-off-by: Xue Chaojing >> --- > > If you are going to submit a new version, please split the patch into > one moving the existing ethtool code into a new file and one with the > new features so that it's clear what is new. > > I'm also not sure if an error lever message in kernel log is an > appropriate response to user trying to perform an unsupported operation, > in particular if it can be triggered by a regular user. I think no log message should be reported.