Skip to content

Commit

Permalink
controller: Extract garp_rarp to engine node.
Browse files Browse the repository at this point in the history
Previously on each call to pinctrl_run all addresses that need to be
announced via garps or rarps where computed newly. On larger external
networks that might take significant time.
However the content of the data can only change in a run of the I+P
engine. So we move the whole logic to an engine node and only handle the
minimal needed set in pinctrl_run.

Signed-off-by: Felix Huettner <felix.huettner@stackit.cloud>
  • Loading branch information
felixhuettner committed Mar 3, 2025
1 parent 4d5e114 commit 81df2c2
Show file tree
Hide file tree
Showing 6 changed files with 825 additions and 542 deletions.
4 changes: 3 additions & 1 deletion controller/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ controller_ovn_controller_SOURCES = \
controller/route-exchange.h \
controller/route-table-notify.h \
controller/route.h \
controller/route.c
controller/route.c \
controller/garp_rarp.h \
controller/garp_rarp.c

if HAVE_NETLINK
controller_ovn_controller_SOURCES += \
Expand Down
Loading

0 comments on commit 81df2c2

Please sign in to comment.