Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7565251imu; Mon, 3 Dec 2018 15:13:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/UlAJpuN+p8whzVmAnPxKtg50hCyLQ0hvFKjtAKfgcVC9XJw4Y78JkampbsSH35voI815Yv X-Received: by 2002:a17:902:5ac2:: with SMTP id g2mr17808342plm.313.1543878832327; Mon, 03 Dec 2018 15:13:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543878832; cv=none; d=google.com; s=arc-20160816; b=JWyzcSPW8SGJuQLXDHBxSiFWwQuXAPFR3QDbWanQj23udOOKhspsTexcx6CXDl/rI+ tEVgd4+KR1OIT7MdnikhAkFi+OSRLJNZT3Pt4IzwMD/gg0vXMYfBIw7pmXMkdvYQG/KP AkPa/msso9OFMqBS9DHrW7EsqYfAewIOqifdoG42KrsqqBj3Ip2gXPcvVZJtGavsNmeV 8ul9xJ0i3hzw57Xibu6obExkPArBzm8KVotRnD1rfER8Q7vZL3apgviQbEbgSDfXSLTV MQKl53hHhbrilTcfeGjqVY4KkNarABR1N1DllR9ao4UUV+pPO/VG/Wcrsxu+hfwMEMJa 9Sxw== 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=MkIcdwtbGMiRGqJGQX8JUx0pmugAVfLiaNsS1bYwgbI=; b=xcflnQCZxwvatkkWevMuaQjnnb5wTZsjw4reE7dfPWvj4MRx0BRfuqPIqpnreMe1vx i13fOHgzpEyHpWxm0QUwHdXg++Uw50a2x25AOXxePqqoJfYNc7N3AyCnURdnSt5DOH3t OkrvKPk2anfFJBtuDhs8L1Tv/Xf7tyYrnMg//8hXfuWiktfn7gwCGuW2YrS5xAC5Hyhu ytAn13nYks7MIegEuWXEbKFM7HYIJmMM8LCMhjjSil1ckmpp4Q3YQd8cnARQtsnmwIfV x9QAYPsjqShUYPGmayGofm4NBzVdL0uIOe8JfYmcfI3eRQfnIR7kKLH9AQMlVFE7WFre 4hgg== 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 e7si16162162pfh.147.2018.12.03.15.13.37; Mon, 03 Dec 2018 15:13:52 -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; 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 S1726047AbeLCXNA (ORCPT + 99 others); Mon, 3 Dec 2018 18:13:00 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:49342 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725858AbeLCXM6 (ORCPT ); Mon, 3 Dec 2018 18:12:58 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::bf5]) (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 C3ECB12F7A9EF; Mon, 3 Dec 2018 15:12:57 -0800 (PST) Date: Mon, 03 Dec 2018 15:12:53 -0800 (PST) Message-Id: <20181203.151253.1348214769326219632.davem@davemloft.net> To: jakub.kicinski@netronome.com Cc: salil.mehta@huawei.com, yisen.zhuang@huawei.com, lipeng321@huawei.com, mehta.salil@opnsrc.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, liuzhongzhu@huawei.com, jiri@resnulli.us, f.fainelli@gmail.com Subject: Re: [RFC net-next 3/9] net: hns3: Add "port vlan table" information query function From: David Miller In-Reply-To: <20181203151222.6e56efcd@cakuba.netronome.com> References: <20181202230933.15560-1-salil.mehta@huawei.com> <20181202230933.15560-4-salil.mehta@huawei.com> <20181203151222.6e56efcd@cakuba.netronome.com> 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]); Mon, 03 Dec 2018 15:12:58 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jakub Kicinski Date: Mon, 3 Dec 2018 15:12:22 -0800 > On Sun, 2 Dec 2018 23:09:27 +0000, Salil Mehta wrote: >> From: liuzhongzhu >> >> This patch prints port vlan table information. >> >> debugfs command: >> echo dump port vlan tbl > cmd >> >> Sample Command: >> root@(none)# echo dump port vlan tbl > cmd >> vlan | port filter bitMap: >> 0000 | 00000000:00000000:00000000:00000000:00000000:00000001 >> root@(none)# >> >> Signed-off-by: liuzhongzhu >> Signed-off-by: Salil Mehta > > Adding debugfs files for basic switch concepts like MAC and VLAN tables > seems like a bit of a stretch to me. I wonder what others think. Agreed.