linux-stable/net/bridge
Herbert Xu b195167fcf 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>
2010-02-28 00:49:46 -08:00
..
netfilter netfilter: ebtables: mark: add CONFIG_COMPAT support 2010-02-16 17:27:20 +01:00
br.c bridge: Use rcu_barrier() instead of syncronize_net() on unload. 2009-06-26 13:51:32 -07:00
br_device.c bridge: Add multicast data-path hooks 2010-02-28 00:49:45 -08:00
br_fdb.c net: Move && and || to end of previous line 2009-11-29 16:55:45 -08:00
br_forward.c bridge: Add multicast forwarding functions 2010-02-28 00:48:45 -08:00
br_if.c bridge: Add multicast start/stop hooks 2010-02-28 00:49:38 -08:00
br_input.c bridge: Add multicast data-path hooks 2010-02-28 00:49:45 -08:00
br_ioctl.c bridge: remove dev_put() in add_del_if() 2009-11-05 22:34:16 -08:00
br_multicast.c bridge: Add hash elasticity/max sysfs entries 2010-02-28 00:49:46 -08:00
br_netfilter.c sysctl net: Remove unused binary sysctl code 2009-11-12 02:05:06 -08:00
br_netlink.c netlink: change nlmsg_notify() return value logic 2009-02-24 23:18:28 -08:00
br_notify.c netns bridge: allow bridges in netns! 2008-09-08 16:19:58 -07:00
br_private.h bridge: Add hash elasticity/max sysfs entries 2010-02-28 00:49:46 -08:00
br_private_stp.h net: remove CVS keywords 2008-06-11 21:00:38 -07:00
br_stp.c bridge: Add multicast start/stop hooks 2010-02-28 00:49:38 -08:00
br_stp_bpdu.c netns bridge: allow bridges in netns! 2008-09-08 16:19:58 -07:00
br_stp_if.c bridge: Add multicast start/stop hooks 2010-02-28 00:49:38 -08:00
br_stp_timer.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
br_sysfs_br.c bridge: Add hash elasticity/max sysfs entries 2010-02-28 00:49:46 -08:00
br_sysfs_if.c bridge: Add multicast_router sysfs entries 2010-02-28 00:49:45 -08:00
Kconfig bridge: Add core IGMP snooping support 2010-02-28 00:48:45 -08:00
Makefile bridge: Add core IGMP snooping support 2010-02-28 00:48:45 -08:00