On 2/23/26 3:48 PM, Mike Pattrick via dev wrote: > On Wed, Feb 11, 2026 at 4:09 AM Adrian Moreno via dev < > [email protected]> wrote: > >> OVS only cares about AF_INET and AF_INET6 routes. However, the current >> route dumping request uses AF_UNSPEC as rtm_family, which makes the >> linux kernel inspect other subsystems such as ipmr (IP multicast routing) >> for potential routes. Even if there are none, ipmr currently requires >> acquiring the RTNL mutex while IPv4/IPv6 route dumping do not (since >> 2017) which means that on RTNL-contended scenarios, this unnecessary >> lookup can be expensive. >> >> This patch adds concrete rtm_family to the netlink requests. >> >> Signed-off-by: Adrian Moreno <[email protected]> >> --- > > > Good find Adrian, this looks like a logical first step towards reducing > rtnl contention. > > Acked-by: Mike Pattrick <[email protected]>
Thanks, Adrian and Mike! This will have some consequences for how OVN uses the library, but it's just a matter of calling the dump twice as in the test code, so should be fine. Applied. Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
