]> git.puffer.fish Git - mirror/frr.git/commit
zebra: add label chunk allocation in the dynamic block range
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 3 Oct 2023 08:22:05 +0000 (10:22 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 18 Oct 2023 07:41:02 +0000 (09:41 +0200)
commitfccda55eacd7f1d9b6745038a2f11b1ba9354b4c
tree7cc2752d7f6cda14c6dcef32f7ed1f013d09ce7f
parent7a7c4bc80ac413d4841c31abb3e22c590ad4cdb2
zebra: add label chunk allocation in the dynamic block range

This commit adds support for the label chunk allocation in
the configured dynamic block range.

An additional check ensures the upper bound does not go
over the upper bound of the dynamic-block.
Otherwise, a chunk is created with the lower bound set
to the first label element available in the defined
range.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/label_manager.c