]> git.proxmox.com Git - mirror_ovs.git/commit - lib/mac-learning.h
mac-learning: Increase default mac table size to 8K from 2K
authorEelco Chaudron <echaudro@redhat.com>
Wed, 27 Jun 2018 11:24:25 +0000 (13:24 +0200)
committerBen Pfaff <blp@ovn.org>
Wed, 27 Jun 2018 13:57:17 +0000 (06:57 -0700)
commit2468f6751893c8a8c67a7265ba69f292b67aafef
treea0041be9b2c7ade65427b910093dc0fba4a1e7a7
parent61677bf976e909c6bfdc03804759767145bb804c
mac-learning: Increase default mac table size to 8K from 2K

In field deployments of OVS (mostly in combination with OpenStack) we
see that the 2K default MAC forwarding table is too small.

On average this tables is around 5k entries, hence this patch to
increase the default value to the next power of 2, i.e. 8K.

This increase in size does not automatically increase the memory
footprint, as the memory for the MAC entries, are allocated only when
needed.

Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/mac-learning.h
vswitchd/vswitch.xml