diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-02-27 20:41:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-28 09:49:46 +0100 |
commit | b195167fcf089dbdc650bb874084555035f07f98 (patch) | |
tree | 9b0c491bd1e6e13472d074986869a9aafcb3ae3f /drivers/hwmon/hdaps.c | |
parent | bridge: Add multicast_snooping sysfs toggle (diff) | |
download | linux-b195167fcf089dbdc650bb874084555035f07f98.tar.xz linux-b195167fcf089dbdc650bb874084555035f07f98.zip |
bridge: Add hash elasticity/max sysfs entries
This patch allows the user to control the hash elasticity/max
parameters. The elasticity setting does not take effect until
the next new multicast group is added. At which point it is
checked and if after rehashing it still can't be satisfied then
snooping will be disabled.
The max setting on the other hand takes effect immediately. It
must be a power of two and cannot be set to a value less than the
current number of multicast group entries. This is the only way
to shrink the multicast hash.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon/hdaps.c')
0 files changed, 0 insertions, 0 deletions