On 6/11/26 4:03 PM, Reuven Plevinsky via dev wrote:
> Patch ports are implemented entirely in userspace and are never
> added to the datapath.  During vswitchd restart, construct() would
> call dpif_port_exists() for every port from iface_hints, including
> patch ports.  With the kernel datapath, this could either collide
> with an unrelated kernel device of the same name, or fail with
> EINVAL if the name exceeds IFNAMSIZ.
> 
> Use the interface type from iface_hint to skip the dpif query for
> patch ports.
> 
> Also filter out patch ports in process_dpif_all_ports_changed(),
> which collects all ofport names and queries the datapath for each.
> 
> Signed-off-by: Reuven Plevinsky <[email protected]>
> ---
>  ofproto/ofproto-dpif.c    |  8 ++++++--
>  tests/system-interface.at | 24 ++++++++++++++++++++++++
>  2 files changed, 30 insertions(+), 2 deletions(-)

Recheck-request: github-robot
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to