From mboxrd@z Thu Jan 1 00:00:00 1970 From: roopa Subject: Re: [PATCH RFC 2/2] net: dsa: bcm_sf2: implement HW bridging operations Date: Thu, 19 Feb 2015 17:46:26 -0800 Message-ID: <54E691F2.5090205@cumulusnetworks.com> References: <1424201196-4901-1-git-send-email-f.fainelli@gmail.com> <1424201196-4901-3-git-send-email-f.fainelli@gmail.com> <54E54EF3.9020802@gmail.com> <20150219055953.GA14247@roeck-us.net> <54E61CFB.3010109@gmail.com> <20150219174640.GA6897@roeck-us.net> <54E676DD.9090003@gmail.com> <20150220000935.GA30118@roeck-us.net> <54E68512.6070108@cumulusnetworks.com> <20150220010352.GA300@roeck-us.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Florian Fainelli , netdev@vger.kernel.org, davem@davemloft.net, vivien.didelot@savoirfairelinux.com, jerome.oufella@savoirfairelinux.com, andrew@lunn.ch, cphealy@gmail.com To: Guenter Roeck Return-path: Received: from mail-pd0-f170.google.com ([209.85.192.170]:41883 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753017AbbBTBq1 (ORCPT ); Thu, 19 Feb 2015 20:46:27 -0500 Received: by pdno5 with SMTP id o5so4010370pdn.8 for ; Thu, 19 Feb 2015 17:46:27 -0800 (PST) In-Reply-To: <20150220010352.GA300@roeck-us.net> Sender: netdev-owner@vger.kernel.org List-ID: On 2/19/15, 5:03 PM, Guenter Roeck wrote: > On Thu, Feb 19, 2015 at 04:51:30PM -0800, roopa wrote: >>> Not sure yet what to do about setting the fdb aging time. I don't see a >>> mechanism to do that. No idea how important that is. >> rocker, the only consumer today relies on the bridge driver aging of learnt >> entries. >> You could do the same. >> > Remember that we are dealing with hardware switch chips. Those chips > won't time out fdb entries just because the kernel's bridge driver > thinks that it should. Oh, they dont..?. sorry, I dont know the details about your hardware. But, if these are entries learnt by hw, there should be a hw config to age them (I guess that is what you are talking about). Which the swicth driver can set. If you disable hw aging, you can sync these entries to the bridge driver, and make the bridge driver age them followed by a subsequent delete in hw. just trying to see if what we do will help here.