From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [patch net-next-2.6] bridge: allow hub-like behaviour Date: Thu, 12 Aug 2010 15:40:29 +0200 Message-ID: <20100812134029.GF3115@psychotron.brq.redhat.com> References: <20100811144017.GA2625@psychotron.brq.redhat.com> <20100811120741.27e13248@s6510> <20100812111523.GC3115@psychotron.brq.redhat.com> <20100812083541.33d8759a@s6510> <20100812124847.GD3115@psychotron.brq.redhat.com> <20100812090251.0f47c5e3@s6510> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, shemminger@linux-foundation.org, bridge@lists.linux-foundation.org, davem@davemloft.net To: Stephen Hemminger Return-path: Received: from mx1.redhat.com ([209.132.183.28]:12285 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759956Ab0HLNkw (ORCPT ); Thu, 12 Aug 2010 09:40:52 -0400 Content-Disposition: inline In-Reply-To: <20100812090251.0f47c5e3@s6510> Sender: netdev-owner@vger.kernel.org List-ID: Thu, Aug 12, 2010 at 03:02:51PM CEST, shemminger@vyatta.com wrote: >On Thu, 12 Aug 2010 14:48:48 +0200 >Jiri Pirko wrote: > >> Thu, Aug 12, 2010 at 02:35:41PM CEST, shemminger@vyatta.com wrote: >> >On Thu, 12 Aug 2010 13:15:24 +0200 >> >Jiri Pirko wrote: >> > >> >> Wed, Aug 11, 2010 at 06:07:41PM CEST, shemminger@vyatta.com wrote: >> >> >NO. unnecessary >> >> > >> >> >Already possible, without patch. Just set the hold time >> >> >on the bridge to 0! >> >> >> >> Sorry, but could you please point me a sysfs node where should I do this >> >> setting? Unable to find this. >> >> >> >> Thanks. >> >> >> > >> >/sys/class/net/ethX/brport/hold_timer > >Too early... > >hold_time is computed from ageing time, so that is the value >you need to set: > >$ ls -l /sys/class/net/br0/bridge/ageing_time >-rw-r--r-- 1 root root 4096 2010-08-12 08:34 /sys/class/net/br0/bridge/ageing_time Yep, figured that out. Works as expected. Thanks Stephen.