From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ran Shalit Subject: Re: DSA switch Date: Fri, 4 May 2018 09:59:33 +0300 Message-ID: References: <20180502205620.GE24748@lunn.ch> <20180503204150.GH17027@lunn.ch> <20180503210545.GJ17027@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: netdev@vger.kernel.org To: Andrew Lunn Return-path: Received: from mail-qt0-f179.google.com ([209.85.216.179]:45096 "EHLO mail-qt0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750733AbeEDG7e (ORCPT ); Fri, 4 May 2018 02:59:34 -0400 Received: by mail-qt0-f179.google.com with SMTP id j42-v6so26100378qtj.12 for ; Thu, 03 May 2018 23:59:34 -0700 (PDT) In-Reply-To: <20180503210545.GJ17027@lunn.ch> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, May 4, 2018 at 12:05 AM, Andrew Lunn wrote: >> I am using kernel 2.6.37, but I think it is not kernel issue, but more >> bad patches done on kernel. >> It is based on TI's kernel, but with some custom modifications on >> driver's switch, to make it work with TI's cpsw switch. >> Seems like someone made some bad patch, I'll continue investigating it. >> You can ignore the question... >> >> Many thanks a lot for the help, >> Ran > > There is no DSA driver for the cpsw. Are you just using the cpsw to > pass frames to a switch which is supported by DSA? > > In theory, mainline CPSW should just work for passing frames to an > external switch. So why not just use mainline? > It seems that the bridge functions OK, so I rather keep on working with it, instead of doing too many dramatically changes in the custom kernel of TI's which works with our chip (dm8148). Yet, I would like to ask about the bridge: Can a bridge also be used with dsa switch when ports are connected to different subnets ? Regards, Ran