From 6b74746cbf12d5b8421f68e99a4139abacec924b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20L=C3=BCssing?= Date: Tue, 26 May 2015 21:49:11 +0200 Subject: bridge: allow setting hash_max value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the number of entries in the MDB exceeds hash_max then the multicast snooping capabilities of the bridge are disabled automatically. The default value for hash_max is 512 which is already exceeded by some wireless community mesh networks. They need to be able to set a higher value. Signed-off-by: Linus Lüssing --- system.h | 1 + 1 file changed, 1 insertion(+) (limited to 'system.h') diff --git a/system.h b/system.h index 382c907..486fe14 100644 --- a/system.h +++ b/system.h @@ -58,6 +58,7 @@ struct bridge_config { int ageing_time; int hello_time; int max_age; + int hash_max; }; enum macvlan_opt { -- cgit v1.2.1