Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752621AbdI2TVR (ORCPT ); Fri, 29 Sep 2017 15:21:17 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:53640 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752436AbdI2TVQ (ORCPT ); Fri, 29 Sep 2017 15:21:16 -0400 X-Google-Smtp-Source: AOwi7QCSm+2vpl0HIoNZkf1ScJoqcRsCTXYuvZRymxWXRiOiryVpR8kbYaDDSGLSFzMVxbMjdZnYXQ== Subject: Re: [PATCH net-next 1/8] net: dsa: directly fetch switch in mtk_tag_rcv To: Vivien Didelot , netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Andrew Lunn References: <20170929183635.8122-1-vivien.didelot@savoirfairelinux.com> <20170929183635.8122-2-vivien.didelot@savoirfairelinux.com> From: Florian Fainelli Message-ID: <934ee885-db90-c9a7-fafa-0d35e4d2b7c6@gmail.com> Date: Fri, 29 Sep 2017 12:21:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170929183635.8122-2-vivien.didelot@savoirfairelinux.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 328 Lines: 9 On 09/29/2017 11:36 AM, Vivien Didelot wrote: > In a single-chip switch fabric, there is no need to fetch the dsa_switch > structure from the tree, directly use the CPU port's "ds" member. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian