Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7564773imu; Mon, 3 Dec 2018 15:13:21 -0800 (PST) X-Google-Smtp-Source: AFSGD/VqQ2thuJ4H3PFMIbH95an/uqv9bqtprmTiR3Z8mhx94+Z2HoBi9k4IdBEt8Q2EvU6R37nd X-Received: by 2002:a17:902:227:: with SMTP id 36mr17916070plc.140.1543878801759; Mon, 03 Dec 2018 15:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543878801; cv=none; d=google.com; s=arc-20160816; b=mRk4mvKRS/eGYm3vjyIzhtknJsnDuiFtDCleNm5Qy9PqGp8ihxpCbzvhCOZPgcBEXH AzEQx92SG2vllPzFlpn1dNWoPsQKE4yh6WtEP6Ip+48fGoCmc0pawUmljoK7bLXGKci1 V20yjRaadn2kc5y05Wd6ydLXypHy8DZzDXqV0/EXCn836meztQEn5FiWeSDhZTepffTB 4025z9Fkk/OnXJfJLPxJg3msXtYPEREANYk668x53N8gTzGkE58+aM0SAJ/23FrkDRl6 n1XmU74HXdmEd11FJNeQ+u35mS/Po6qLKSg9X+vl4/qaKMq2f6+cOln87lyOSAkuFMN7 QJOg== 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=YdGuOGuOd+dAS1CsKU5Rg/N8Hk1GkzLD9up9MUo39Hk=; b=vQoj4Y2SZsSS+25vcOX4df32+pFv6t0yDi9SLQbJwRqaEDZY7as1i9CwfhfLbY6XZy 6ZFMXJqyss5ODYLRHoE3Wc5L9akqYO6dYfR8FOodXpI37TpZI3e6UwtsywM/jYeEMa8l yBH6IhZNnaFaooo0XnXan502EpUG4o4ohJ8R8Fb5yIeBuk84O0eUWyfl2FUCGp+tR8Ze AviaeM7PIbZBKSiA9Z+rpZ+uVYUUJ8Wd/AuzaLtCC8XOloAm69lZtTSJgdyYZ/xJlDJe xHBQzWBa3XiU6rdDlE8vdmPNQAYIdrd9RhSvlnHc6Asfm/YCraXFI7hGP+3SshcIagEv lQmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=oSvmh5Bw; 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 1si14980354plk.296.2018.12.03.15.13.05; Mon, 03 Dec 2018 15:13:21 -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=oSvmh5Bw; 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 S1725943AbeLCXM2 (ORCPT + 99 others); Mon, 3 Dec 2018 18:12:28 -0500 Received: from mail-qt1-f171.google.com ([209.85.160.171]:42328 "EHLO mail-qt1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725858AbeLCXM1 (ORCPT ); Mon, 3 Dec 2018 18:12:27 -0500 Received: by mail-qt1-f171.google.com with SMTP id d19so15922696qtq.9 for ; Mon, 03 Dec 2018 15:12:26 -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=YdGuOGuOd+dAS1CsKU5Rg/N8Hk1GkzLD9up9MUo39Hk=; b=oSvmh5BwT+ZA+dfs3eu72mXiLlpiiWtjq4JAYHuq26RTqgEXDFe4a9SNQcmoBbBoGk WXHL4uNnhSZiIe1Ov5YFPcC8GuyV3OmOv9qDMcfKtaI61BoepJvmAw/NxR8bb+rkVRI4 AEPoUHZz3HCbL+vsPhbLF7tyrEsSfVr8uwmQA9FFD7clazd4NsW0bouTGVaX79yHzcd8 sC3iY5zuJL9WUfJsPccpZRlgRoz3EnhKr4Pbaknpkvb1VGLDgxIVWybJ0QtUPMr7/INj BJ4S8f/A4LiXHrIcm1AZdAMXPIfMmTr/EZ4KtPCZa0DzGSCL59zClZtH3X+96cWsRaoh o/RA== 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=YdGuOGuOd+dAS1CsKU5Rg/N8Hk1GkzLD9up9MUo39Hk=; b=ZWTdqkwjktuVgwWEuL5azs1+aons5Mn/i3DPCakrEJAgJ8K7z+x0y1lnYWkDQYE2++ Z9KLSChylRR67MDB0LVHH7RSUdCbFoTfhDv32bEVwa/8lgVaYB/hjRisyA/ZqS7CWMCw Rn9FFVKuaT6X743u+OxQW4dC0+59TNvwTtXnp3pwEh1eHoQUoud/QUP8M5JUDd+sJReV N6gslBxUhHXNDM+g3K0V/oImfg4WGQ3jV1wPBHw+XDJzrWc/Sql58jCkxoPv6oBqoh1l Nxi56LpOxL5SuBXOld62PHIzVxXVebnfreo7+9Ug6VzPgnpV295x/tXX46+qeLJbnSbC qOiw== X-Gm-Message-State: AA+aEWbjxL4xLeJdueCaHPhDcjLdca5xNm2yXm4sRIOnAiMpevqzByPR 1n1uVbhmFUdBU9Sr4f6YX/1KWA== X-Received: by 2002:aed:384a:: with SMTP id j68mr17198710qte.171.1543878745968; Mon, 03 Dec 2018 15:12:25 -0800 (PST) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id q17sm9798937qtc.19.2018.12.03.15.12.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 15:12:25 -0800 (PST) Date: Mon, 3 Dec 2018 15:12:22 -0800 From: Jakub Kicinski To: Salil Mehta Cc: , , , , , , , liuzhongzhu , Jiri Pirko , Florian Fainelli Subject: Re: [RFC net-next 3/9] net: hns3: Add "port vlan table" information query function Message-ID: <20181203151222.6e56efcd@cakuba.netronome.com> In-Reply-To: <20181202230933.15560-4-salil.mehta@huawei.com> References: <20181202230933.15560-1-salil.mehta@huawei.com> <20181202230933.15560-4-salil.mehta@huawei.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 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.