Searched refs:ibev (Results 1 – 3 of 3) sorted by relevance
2343 struct ib_event ibev = { }; in mlx4_ib_scan_netdevs() local2359 ibev.device = &ibdev->ib_dev; in mlx4_ib_scan_netdevs()2360 ibev.element.port_num = port; in mlx4_ib_scan_netdevs()2361 ibev.event = event == NETDEV_UP ? IB_EVENT_PORT_ACTIVE : in mlx4_ib_scan_netdevs()2363 ib_dispatch_event(&ibev); in mlx4_ib_scan_netdevs()3157 struct ib_event ibev; in handle_bonded_port_state_event() local3178 ibev.device = &ibdev->ib_dev; in handle_bonded_port_state_event()3179 ibev.element.port_num = 1; in handle_bonded_port_state_event()3180 ibev.event = (bonded_port_state == IB_PORT_ACTIVE) ? in handle_bonded_port_state_event()3183 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()
238 struct ib_event ibev = { }; in mlx5_netdev_event() local249 ibev.device = &ibdev->ib_dev; in mlx5_netdev_event()251 ibev.event = IB_EVENT_PORT_ERR; in mlx5_netdev_event()253 ibev.event = IB_EVENT_PORT_ACTIVE; in mlx5_netdev_event()257 ibev.element.port_num = port_num; in mlx5_netdev_event()258 ib_dispatch_event(&ibev); in mlx5_netdev_event()4551 struct ib_event *ibev) in handle_general_event() argument4567 struct ib_event *ibev) in handle_port_change() argument4571 ibev->element.port_num = port; in handle_port_change()4584 ibev->event = (eqe->sub_type == MLX5_PORT_CHANGE_SUBTYPE_ACTIVE) ? in handle_port_change()[all …]