Re: [patch net-next-2.6] bridge: allow hub-like behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 12 Aug 2010 14:48:48 +0200
Jiri Pirko <jpirko@xxxxxxxxxx> wrote:

> Thu, Aug 12, 2010 at 02:35:41PM CEST, shemminger@xxxxxxxxxx wrote:
> >On Thu, 12 Aug 2010 13:15:24 +0200
> >Jiri Pirko <jpirko@xxxxxxxxxx> wrote:
> >
> >> Wed, Aug 11, 2010 at 06:07:41PM CEST, shemminger@xxxxxxxxxx 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
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux