Searched refs:ibev (Results 1 – 3 of 3) sorted by relevance
208 struct ib_event ibev = { }; in mlx5_netdev_event() local219 ibev.device = &ibdev->ib_dev; in mlx5_netdev_event()221 ibev.event = IB_EVENT_PORT_ERR; in mlx5_netdev_event()223 ibev.event = IB_EVENT_PORT_ACTIVE; in mlx5_netdev_event()227 ibev.element.port_num = port_num; in mlx5_netdev_event()228 ib_dispatch_event(&ibev); in mlx5_netdev_event()2777 struct ib_event *ibev) in handle_general_event() argument2793 struct ib_event *ibev) in handle_port_change() argument2797 ibev->element.port_num = port; in handle_port_change()2810 ibev->event = (eqe->sub_type == MLX5_PORT_CHANGE_SUBTYPE_ACTIVE) ? in handle_port_change()[all …]
2340 struct ib_event ibev = { }; in mlx4_ib_scan_netdevs() local2356 ibev.device = &ibdev->ib_dev; in mlx4_ib_scan_netdevs()2357 ibev.element.port_num = port; in mlx4_ib_scan_netdevs()2358 ibev.event = event == NETDEV_UP ? IB_EVENT_PORT_ACTIVE : in mlx4_ib_scan_netdevs()2360 ib_dispatch_event(&ibev); in mlx4_ib_scan_netdevs()3151 struct ib_event ibev; in handle_bonded_port_state_event() local3172 ibev.device = &ibdev->ib_dev; in handle_bonded_port_state_event()3173 ibev.element.port_num = 1; in handle_bonded_port_state_event()3174 ibev.event = (bonded_port_state == IB_PORT_ACTIVE) ? in handle_bonded_port_state_event()3177 ib_dispatch_event(&ibev); in handle_bonded_port_state_event()[all …]
59 struct ib_event ibev; in qedr_ib_dispatch_event() local61 ibev.device = &dev->ibdev; in qedr_ib_dispatch_event()62 ibev.element.port_num = port_num; in qedr_ib_dispatch_event()63 ibev.event = type; in qedr_ib_dispatch_event()65 ib_dispatch_event(&ibev); in qedr_ib_dispatch_event()