]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_labelpool.h
bgpd: improve labelpool performance at scale
[mirror_frr.git] / bgpd / bgp_labelpool.h
index d6a8eec84d8d364b548c1552d38edf1600da5a4f..2f3ffe437fa6ca4e2ee298fa42e969945bafd372 100644 (file)
@@ -41,6 +41,7 @@ struct labelpool {
        struct work_queue       *callback_q;
        uint32_t                pending_count;  /* requested from zebra */
        uint32_t reconnect_count;               /* zebra reconnections */
+       uint32_t next_chunksize;                /* request this many labels */
 };
 
 extern void bgp_lp_init(struct thread_master *master, struct labelpool *pool);