]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_dplane.c
fpm: send all next hop groups on startup
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 5 May 2020 18:02:14 +0000 (15:02 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 5 May 2020 19:21:44 +0000 (16:21 -0300)
commit981ca5976fff56d75b97b233927201c73c087e0a
tree0b14ddd43e9f983c6fc400a847d86bd0d44bec5b
parente9a1cd931b61a55f778259076912bc4163cd3f0b
fpm: send all next hop groups on startup

Implement the next hop group send on startup if you are using
them. Normally you will only have them if you are already using this
Linux kernel feature.

NOTE: to make sure all next hop groups exist, we send/enqueue all next
hop groups first and then we send routes. The RIB route walk start is
at the end of the function `fpm_nhg_send()`.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
zebra/dplane_fpm_nl.c
zebra/zebra_dplane.c
zebra/zebra_dplane.h
zebra/zebra_nhg.h