net: bridge: increase multicast's default maximum number of entries
bridge's default hash_max was 512 which is rather conservative, now that we're using the generic rhashtable API which autoshrinks let's increase it to 4096 and move it to a define in br_private.h. Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
cf332bca56
commit
d08c6bc08f
@@ -31,6 +31,8 @@
|
||||
#define BR_PORT_BITS 10
|
||||
#define BR_MAX_PORTS (1<<BR_PORT_BITS)
|
||||
|
||||
#define BR_MULTICAST_DEFAULT_HASH_MAX 4096
|
||||
|
||||
#define BR_VERSION "2.3"
|
||||
|
||||
/* Control of forwarding link local multicast */
|
||||
|
Reference in New Issue
Block a user