Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2491791imu; Wed, 21 Nov 2018 12:30:08 -0800 (PST) X-Google-Smtp-Source: AFSGD/UaoRf5ilWSwhLZwd/xUGGHssV/QAguOktc1P799CCBGr8ZmIdfdhRtqBgci/5UTN9vYkft X-Received: by 2002:a63:5b48:: with SMTP id l8mr7381421pgm.80.1542832208380; Wed, 21 Nov 2018 12:30:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542832208; cv=none; d=google.com; s=arc-20160816; b=uCJ83228Im3yOqq/IIlTYhi1kd5VF2+O1qsqfAPUMgEVKDpsVS7iEEaANf9SGoP5qz FJp9o7uvvyEVx3No+MOM/LGD0lPCxBFxbCGsMOH+blD8cI5E2BUdKu7ghBJ8ZwDcUO2H mVG+sCUnqnJqdYhDI3wupdeeOeTaql9gDZGENsHSn8+MJEiH/nFaoqGcWnfEbeXXXSOd kDaojs1mLvH9Viw3E116T2yFNykCAPQChZ8rNvjshAzDIhWmEMfHNLuFzcyc1nXBUB1y XSkAGsoyeZeaU4yymCrxk0xRHI24IQdF2SCz1dRyZbD4Y0agsB7/9/mINMg/EAl5n2OO zDTQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=UzSgwX/mRKa30UFg9nzgR4BDr+fry1rc6xVWY0eAl3M=; b=DLu3TUxNQtULy3uBDzy/MYtxhZlAmF0AwXYV8RjBzQjgUUslEKlsQCdYb/wFxUVj1Y HY5TEqqAg44YfrzI7yubctY9rOxiS4fXMwLgTOBhfZeL45S1FxLwbjyBq4ai+5Lvdktw yJlxwlW5kEYGL+53hycMxVqnXnEn+v/wJDdQOErcYzK4cr45tfViUR+uPfxxEZHvHwLc GqqcVPLdGZxNz/WXbKYpbITLXoy5JFg4JtEnVCN2zTbxpLCBQERuawxNOWF24ceidg6g 93yM9aSd2atwHfL3wRK7zgvVKItGv9MFgI21lqNm5SmtpBi9CQEhEJZrukqvcqS/3Cdb nZkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=M9+3vVrI; 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 j187si3370579pfg.160.2018.11.21.12.29.52; Wed, 21 Nov 2018 12:30:08 -0800 (PST) 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; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=M9+3vVrI; 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 S1726761AbeKVFBA (ORCPT + 99 others); Thu, 22 Nov 2018 00:01:00 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:44000 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726210AbeKVFA7 (ORCPT ); Thu, 22 Nov 2018 00:00:59 -0500 Received: by mail-pl1-f193.google.com with SMTP id gn14so6658620plb.10 for ; Wed, 21 Nov 2018 10:25:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=UzSgwX/mRKa30UFg9nzgR4BDr+fry1rc6xVWY0eAl3M=; b=M9+3vVrIJWGF/VHqY2e2vdpgIegTwoCuWCI/f3x28gcA+wLqHwR4r4h1A/3KkAmiWr JJWefhBcfw1XThw/u84yykecQKPld5JnflQoSl5PgI/KHXDJOEDAHJ+Yp5E3iPGLNyns IpwsVdLupZ7YagWZR1scNul6uQUsPdifwgTOKIHVppQvTwHBM5QQVSAefGYTZxd7WmNW VLSfJ/HcFEVsPbQss3iNB1SwBcOu050c6zb+WqTSuv6ysBaov7moy3Stp+S0iioZHP9o qUD+YOfpR5fAuLLaMLBzwwLYfBL3CH8y/5mJ8S/SQ9da+5P1umcLBQrX1tFdqSK1K9vc K1FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=UzSgwX/mRKa30UFg9nzgR4BDr+fry1rc6xVWY0eAl3M=; b=Cxufds39Ck/eaEUr2022DcCxBo5WSaQz3tELfczhaa5G0u2ZhJHhLSilMckV/7ilqG VOutZEDtv8dyLGwsV9TwlIAXjWj14zeXstflpm9u08ae5x/hJM24XPQsP7ETIvQBHB/U RsKMf7TEbwlI0yU/xWGgAsgdFz1XtrBhO+pIk7ANGfaiELAWJr74J4TwXKSourspzNMp m5HZWDcaB8Pjb0QX6B9GMwzzpUAGelDuOer+5JoxYmNJPSelxdrd0zPjPPb1690jl3TI LmxdmpzNGgBAbtg5I+walRsRp4Oq8DJmhaMGQoyS/PH5irJUaWbjE+VWXAado/ttfwvL inlw== X-Gm-Message-State: AGRZ1gLD4VA5rhfAJVImB5D5iSSJ99eP0YnxDOO983fUBv2EWkkL2rVo yA+InrTUITdVPuFbtpTgbQlthQ== X-Received: by 2002:a62:2095:: with SMTP id m21-v6mr7965663pfj.32.1542824733037; Wed, 21 Nov 2018 10:25:33 -0800 (PST) Received: from cakuba.netronome.com ([2601:646:8e00:727e::5]) by smtp.gmail.com with ESMTPSA id u70sm5547437pfa.176.2018.11.21.10.25.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Nov 2018 10:25:32 -0800 (PST) Date: Wed, 21 Nov 2018 10:25:29 -0800 From: Jakub Kicinski To: Salil Mehta Cc: "davem@davemloft.net" , "Zhuangyuzeng (Yisen)" , "lipeng (Y)" , "mehta.salil@opnsrc.net" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Linuxarm Subject: Re: [PATCH net-next 0/8] net: hns3: Adds support of debugfs to HNS3 driver Message-ID: <20181121102529.7d8df6e4@cakuba.netronome.com> In-Reply-To: References: <20181119211845.23168-1-salil.mehta@huawei.com> <20181119142955.56b6baa6@cakuba.netronome.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Nov 2018 18:06:19 +0000, Salil Mehta wrote: > > From: Jakub Kicinski [mailto:jakub.kicinski@netronome.com] > > Sent: Monday, November 19, 2018 10:30 PM > > To: Salil Mehta > > Cc: davem@davemloft.net; Zhuangyuzeng (Yisen) ; > > lipeng (Y) ; mehta.salil@opnsrc.net; > > netdev@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm > > > > Subject: Re: [PATCH net-next 0/8] net: hns3: Adds support of debugfs to > > HNS3 driver > > > > On Mon, 19 Nov 2018 21:18:37 +0000, Salil Mehta wrote: > > > This patchset adds support of debugfs to the HNS3 driver. > > > > > > Support has been added to query info related to below items: > > > 1. Queue related > > > 2. Flow Director > > > 3. TC config > > > 4. Transmit Module/Scheduler > > > 5. QoS pause > > > 6. QoS buffer > > > 7. QoS prio map > > > > Please provide a more informative cover letter. > > > > From a short glance it looks like you add a single debugfs file, which > > can be written to, and upon that write the driver will dump stuff into > > kernel logs. > > That is correct. Do you foresee any problem with it or are we doing something > which is objectionable? Its fine with me, but I think not everyone reading the list will read the code so a few extra words and adding one of the examples from the patches to the cover letter could help people understand the changes.