On Thu, 12 Aug 2010 14:48:48 +0200
Jiri Pirko <[email protected]> wrote:

> Thu, Aug 12, 2010 at 02:35:41PM CEST, [email protected] wrote:
> >On Thu, 12 Aug 2010 13:15:24 +0200
> >Jiri Pirko <[email protected]> wrote:
> >
> >> Wed, Aug 11, 2010 at 06:07:41PM CEST, [email protected] 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
> 
> That's read-only:
> 
> static BRPORT_ATTR(hold_timer, S_IRUGO, show_hold_timer, NULL);
> 

Guess you have to use ioctl() interface to change it for now.
Looks like a missed opportunity when sysfs support was added.
There are some other values like forward_delay that have same problem.
_______________________________________________
Bridge mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/bridge

Reply via email to