Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1304488ybg; Fri, 18 Oct 2019 15:33:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzDpeO0I6dJalCMbbmRZv/mpknb3tHstxuSdDMrfNLdoJTzoW+3MI1FRuwRTMJQYymuTt4 X-Received: by 2002:a50:8dc9:: with SMTP id s9mr12252870edh.168.1571437986084; Fri, 18 Oct 2019 15:33:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571437986; cv=none; d=google.com; s=arc-20160816; b=GIp1ysravM2cOht30liG9dPxn2Bt6sQ/KtCno/+jE7Nkh5pjpp4D6ObdDaQqJhwNS8 5+IyQ2oSAMw4bQXujMC0CWeupwsg9YqqeX1olkLutfsTRJFI/rVUqARABo5bXgtFs0zp jPEjxuFNaI9MGPhBT3KYc0JKknWGljcJcPggDgublmDE9DG3nKjnpWQ+WPZB3G6I9N6A t7hhx2vJ5AZGCR38ykrHqOq7/h24KSg9Ot6nxAMpadh1X/Db8UJ1dmiVnbWZv9wmT9TH oJzwrE29vm06mU7/9NjJ0IWsVDRmAvBBLsP9u72Oz4DUIa1OHHg/hwYTbUCY3XFliKcf I3IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=dLYbD60Ts+W4e+AOAx0KYuxc7g7n3SD7fmjHW4Vgt24=; b=f5WR7WgN7ea1/ODM4T8shwIo63vynkx0zQ8YDHwJIV35gpwX+17QyV2pcTmy1JrwDJ aoY4r2xDs5/HAboRwEIEy70eczpWCdCrkTTVfLME8wXnunCgIukdQS18ePRGu98uVUGt K1i6TB4/3O9RDMvojj6mqz1ioW+5tHoytVwmqtsBk4e5aSBvuyt4nO2FVTOGNsBqt9d1 sArlWgfE5y/hxKborphc3fDeXLWsJOzMaOHYAaDZV1oBabZfdnLyhp418smyu7cFIHct U4atufqFoYNxMdtpbxOa9SWBSjmLxRzaCPiflpIA/uRiHtZpHCptKyB09qw25hAMka/Q 8edg== 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 i40si4742684eda.225.2019.10.18.15.32.43; Fri, 18 Oct 2019 15:33:06 -0700 (PDT) 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 S2441952AbfJRFIf (ORCPT + 99 others); Fri, 18 Oct 2019 01:08:35 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:36141 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726417AbfJRFIe (ORCPT ); Fri, 18 Oct 2019 01:08:34 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iLKFZ-00046M-Le; Fri, 18 Oct 2019 06:52:29 +0200 Received: from ore by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1iLKFW-0006rT-3o; Fri, 18 Oct 2019 06:52:26 +0200 Date: Fri, 18 Oct 2019 06:52:26 +0200 From: Oleksij Rempel To: Florian Fainelli Cc: Andrew Lunn , Chris Snook , James Hogan , Jay Cliburn , Mark Rutland , Paul Burton , Ralf Baechle , Rob Herring , Russell King , Vivien Didelot , devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Pengutronix Kernel Team , "David S. Miller" Subject: Re: [PATCH v1 4/4] net: dsa: add support for Atheros AR9331 build-in switch Message-ID: <20191018045226.hi2nybxkwopclajy@pengutronix.de> References: <20191014061549.3669-1-o.rempel@pengutronix.de> <20191014061549.3669-5-o.rempel@pengutronix.de> <2ad26bdc-e099-ded6-1337-5793aba0958d@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2ad26bdc-e099-ded6-1337-5793aba0958d@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 06:42:51 up 153 days, 11:01, 96 users, load average: 0.03, 0.02, 0.00 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 17, 2019 at 11:35:48AM -0700, Florian Fainelli wrote: > > > On 10/13/2019 11:15 PM, Oleksij Rempel wrote: > > Provide basic support for Atheros AR9331 build-in switch. So far it > > works as port multiplexer without any hardware offloading support. > > I glanced through the functional parts of the code, and it looks pretty > straight forward, since there is no offloading done so far, do you plan > on adding bridge offload eventually if nothing more? Currently not. There are following reasons: - I do it for the Freifunk project. It is currently not clear, what functionality has higher priority. - there are not many ar9331 based devices with enough RAM to run any thing modern. There is even less devices using more then one switch port. - IPv6 support is important for this project, but old Atheros switches have some known issues with IPv6 packages in hardware bridge mode. So, this functionality will need more testing. > When you submit v2, I would suggest splitting the tagger code from the > switch driver code, just to make them easier to review. ok. Regards, Oleksij -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |