summaryrefslogtreecommitdiff
path: root/lib/agg_table.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-07-24 10:33:21 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-07-24 10:41:00 -0400
commitfe1c72a57315a7c9fc3c63dd2fbf3a10dafbc10b (patch)
treeaf6cdab2aae95fcf81abb370ee4eceb90bea631a /lib/agg_table.c
parent102bad0a9b65279358db787e2972a1711606d224 (diff)
bgpd: Reduce size of ibuf_work ringbuf
The ringbuf is 650k in size. This is obscenely large and in practical experimentation FRR never even approaches that size at all. Let's reduce this to 1.5 max packet sizes. If a BGP_MAX_PACKET_SIZE packet is ever received having a bit of extra space ensures that we can read at least 1 packet. This also will significantly reduce memory usage when the operator has a lot of peers. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/agg_table.c')
0 files changed, 0 insertions, 0 deletions