]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Reduce memory usage of streams for encoding packets
authorDonald Sharp <sharpd@nvidia.com>
Thu, 10 Jun 2021 14:54:11 +0000 (10:54 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 9 Dec 2024 17:31:29 +0000 (12:31 -0500)
commitb3facc23df0ff09819f49a12cd0e48a2ddd5e354
tree18544eca4707e0a2ada8636545fd80aa96dfb2d5
parentf8c464688d8ca2aa5250ae6828baee1daf06ea93
zebra: Reduce memory usage of streams for encoding packets

For those packets that we are not sending 16k of data, but something
far less than 256 bytes.  Reduce those stream sizes we allocate
to something much more reasonable.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zapi_msg.c
zebra/zebra_mpls.c
zebra/zebra_mroute.c
zebra/zebra_vxlan.c