This series makes neighbor dumps atomic and keeps EVPN observations across failed dumps. The first patch stages learned rows and pending kernel changes until the dump completes. The second keeps the last complete observations for each monitored link and invalidates them when the link monitor detects rename or replacement.
Changes in v2 - Rebase onto 0781c00775c2 and split dump handling from EVPN retention. - Skip unusable records, reject interrupted dumps, and use a one-second self-retry timer. Other controller events can trigger a run sooner. - Cover rename, link replacement, write errors, and recovery. Tested with selected OVN userspace and kernel tests. In live EVPN tests on Linux 7.0.0-38-generic, the series retained observations during injected dump failures and withdrew stale entries after link rename in both Southbound monitor modes. With the pinned OVS version, nl_dump_done() can return success when the kernel reports an error only in the NLMSG_DONE payload. OVN may then treat a partial dump as complete. Guillaume Boutry (2): controller: Abort sync on failed neighbor dumps. controller: Retain EVPN state after failed dumps. controller/host-if-monitor-stub.c | 6 +- controller/host-if-monitor.c | 83 ++-- controller/host-if-monitor.h | 9 +- controller/neighbor-exchange-netlink.c | 114 ++++-- controller/neighbor-exchange-netlink.h | 2 +- controller/neighbor-exchange-stub.c | 11 +- controller/neighbor-exchange.c | 139 +++++-- controller/neighbor-exchange.h | 5 +- controller/ovn-controller.c | 12 +- tests/automake.mk | 10 + tests/system-ovn-netlink.at | 70 ++++ tests/test-ovn-netlink.c | 504 ++++++++++++++++++++++++- 12 files changed, 850 insertions(+), 115 deletions(-) base-commit: 0781c00775c287029f4b7e79442d0b1b9eea1553 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
