Skip to contentSkip to conversation

Why is bridge's sysfs values in 1/100 of second?

DISCUSSION Ben Greear 2 participants 2 messages Jan 14, 2015

Subsystems (2)
lore
Share & tools
lore

Ben Greear

author
#0 lore raw

Are the units supposed to be 1/100 of a second, or is that just some luck depending on HZ?

root@ath9k-138:/home/lanforge# brctl setageing br0 98
root@ath9k-138:/home/lanforge# cat /sys/class/net/br0/bridge/ageing_time
9800

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
maintainer
#1 lore raw

From: Ben Greear <[email protected]>
Date: Tue, 13 Jan 2015 18:35:06 -0800

Quoted 2 lines

Are the units supposed to be 1/100 of a second, or is that just some luck depending on HZ?

More specifically, it's "USER_HZ" which unlike HZ is unchanging.