During vswitchd restart, patch port names are queried against the kernel datapath, where they never exist. This can collide with unrelated kernel devices of the same name, or fail with EINVAL if the name exceeds IFNAMSIZ.
Store the interface type in iface_hint and use it to skip dpif queries for patch ports during startup. Reuven Plevinsky (2): ofproto: Store interface type in iface_hint. ofproto-dpif: Avoid querying datapath for patch ports on restart. ofproto/ofproto-dpif.c | 10 ++++++++-- ofproto/ofproto.c | 2 ++ ofproto/ofproto.h | 1 + tests/system-interface.at | 24 ++++++++++++++++++++++++ vswitchd/bridge.c | 2 ++ 5 files changed, 37 insertions(+), 2 deletions(-) -- 2.43.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
