Page MenuHomeFreeBSD

routing: refactor control cmds #1.
ClosedPublic

Authored by melifaro on Aug 8 2022, 12:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 25 2024, 6:32 AM
Unknown Object (File)
Sep 24 2024, 4:02 PM
Unknown Object (File)
Sep 10 2024, 1:15 PM
Unknown Object (File)
Sep 10 2024, 5:11 AM
Unknown Object (File)
Sep 10 2024, 2:37 AM
Unknown Object (File)
Sep 9 2024, 8:17 PM
Unknown Object (File)
Sep 9 2024, 8:17 PM
Unknown Object (File)
Sep 7 2024, 10:38 PM
Subscribers

Details

Summary

This is a pre-requsite to enable nhop-based route operations required
for efficient multipath control plane support & netlink multipath
support.

  • add explicit basic low-level radix operations: add_route() (renamed from add_route_nhop()) delete_route() (factored from change_route_nhop()) change_route() (renamed from change_route_nhop)
  • remove "info" parameter from change_route_conditional() as a part of reducing rt_addrinfo usage in the internal KPIs
  • add lookup_prefix_rt() wrapper for doing re-lookups after RIB lock/unlock

MFC after: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46778
Build 43667: arc lint + arc unit