]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Limit reading packets when MetaQ is full
authorDonald Sharp <sharpd@nvidia.com>
Mon, 24 Mar 2025 18:11:35 +0000 (14:11 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 25 Mar 2025 13:10:46 +0000 (09:10 -0400)
commit937a9fb3e923beb1cf0a795daddb178cb1fe0ec4
tree47313603c293309310f970122c06cbc12237b7f7
parent12bf042c688fedf82637fab9ff77aa1eab271160
zebra: Limit reading packets when MetaQ is full

Currently Zebra is just reading packets off the zapi
wire and stacking them up for processing in zebra
in the future.  When there is significant churn
in the network the size of zebra can grow without
bounds due to the MetaQ sizing constraints.  This
ends up showing by the number of nexthops in the
system.  Reducing the number of packets serviced
to limit the metaQ size to the packets to process
allieviates this problem.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/rib.h
zebra/zebra_rib.c
zebra/zserv.c