Lines Matching refs:vport
14 static void dp_detach_port_notify(struct vport *vport) in dp_detach_port_notify() argument
19 dp = vport->dp; in dp_detach_port_notify()
20 notify = ovs_vport_cmd_build_info(vport, ovs_dp_get_net(dp), in dp_detach_port_notify()
22 ovs_dp_detach_port(vport); in dp_detach_port_notify()
44 struct vport *vport; in ovs_dp_notify_wq() local
47 hlist_for_each_entry_safe(vport, n, &dp->ports[i], dp_hash_node) { in ovs_dp_notify_wq()
48 if (vport->ops->type == OVS_VPORT_TYPE_INTERNAL) in ovs_dp_notify_wq()
51 if (!(netif_is_ovs_port(vport->dev))) in ovs_dp_notify_wq()
52 dp_detach_port_notify(vport); in ovs_dp_notify_wq()
64 struct vport *vport = NULL; in dp_device_event() local
67 vport = ovs_netdev_get_vport(dev); in dp_device_event()
69 if (!vport) in dp_device_event()
74 ovs_netdev_detach_dev(vport); in dp_device_event()