From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net: dsa: Expose tagging protocol to user-space Date: Fri, 07 Sep 2018 14:51:14 -0700 (PDT) Message-ID: <20180907.145114.1707343345072477953.davem@davemloft.net> References: <20180907180908.3223-1-f.fainelli@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, linux-kernel@vger.kernel.org To: f.fainelli@gmail.com Return-path: In-Reply-To: <20180907180908.3223-1-f.fainelli@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Florian Fainelli Date: Fri, 7 Sep 2018 11:09:02 -0700 > There is no way for user-space to know what a given DSA network device's > tagging protocol is. Expose this information through a dsa/tagging > attribute which reflects the tagging protocol currently in use. > > This is helpful for configuration (e.g: none behaves dramatically > different wrt. bridges) as well as for packet capture tools when there > is not a proper Ethernet type available. > > Signed-off-by: Florian Fainelli Applied, thanks Florian.