This new revision of the patch series reworks the NETLINK_LISTEN_ALL_NSID workaround by using an (eventual) autoreferential nsid as NETNSID_LOCAL for non-system devices.
The discovery process is triggered on RTM_NEWNSID arrival and the resulting local netnsid, if found, is cached thereafter. This will allow the correct parsing of local RTM events netnsid value even when using NETLINK_LISTEN_ALL_NSID when a self nsid is present in the local netns. Best Regards, Matteo Perin Matteo Perin (4): netdev-linux: Skip vport nsid lookup for user dpif. netdev-linux: Handle self nsid mapping in RTM events. netdev-linux: Generalize ethtool stringset query. netdev-linux: Add peer_ifindex in veth iface status. lib/netdev-linux-private.h | 1 + lib/netdev-linux.c | 226 +++++++++++++++++++++++++++++++++---- tests/system-interface.at | 48 ++++++++ vswitchd/vswitch.xml | 13 +++ 4 files changed, 268 insertions(+), 20 deletions(-) -- 2.43.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
