]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Reduce size of vni hash tables to a more reasonable start size
authorDonald Sharp <sharpd@nvidia.com>
Mon, 26 Apr 2021 13:24:48 +0000 (09:24 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 5 May 2021 14:08:06 +0000 (10:08 -0400)
commitda55bcbcb384a023e6283b8b36c672d09a643485
tree878292402cb260cec13f29b985ffa3c446057d7d
parent38078b1d5aa0119da762440e0187881dc9da9adf
zebra: Reduce size of vni hash tables to a more reasonable start size

We are creating 2 hash tables per vni in zebra.  Once we start to
scale the number of vni's we start to see some serious memory
usage in zebra.  Let's reduce the memory usage at startup
for scale of vni's.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_evpn_mac.c
zebra/zebra_evpn_neigh.c