Lines Matching refs:vport
27 static void dp_detach_port_notify(struct vport *vport) in dp_detach_port_notify() argument
32 dp = vport->dp; in dp_detach_port_notify()
33 notify = ovs_vport_cmd_build_info(vport, 0, 0, in dp_detach_port_notify()
35 ovs_dp_detach_port(vport); in dp_detach_port_notify()
57 struct vport *vport; in ovs_dp_notify_wq() local
60 hlist_for_each_entry_safe(vport, n, &dp->ports[i], dp_hash_node) { in ovs_dp_notify_wq()
63 if (vport->ops->type != OVS_VPORT_TYPE_NETDEV) in ovs_dp_notify_wq()
66 netdev_vport = netdev_vport_priv(vport); in ovs_dp_notify_wq()
68 dp_detach_port_notify(vport); in ovs_dp_notify_wq()
80 struct vport *vport = NULL; in dp_device_event() local
83 vport = ovs_netdev_get_vport(dev); in dp_device_event()
85 if (!vport) in dp_device_event()
90 ovs_netdev_detach_dev(vport); in dp_device_event()