Searched refs:ibev (Results 1 – 3 of 3) sorted by relevance
269 struct ib_event ibev = { }; in mlx5_netdev_event() local280 ibev.device = &ibdev->ib_dev; in mlx5_netdev_event()282 ibev.event = IB_EVENT_PORT_ERR; in mlx5_netdev_event()284 ibev.event = IB_EVENT_PORT_ACTIVE; in mlx5_netdev_event()288 ibev.element.port_num = port_num; in mlx5_netdev_event()289 ib_dispatch_event(&ibev); in mlx5_netdev_event()2679 struct ib_event *ibev) in handle_general_event() argument2695 struct ib_event *ibev) in handle_port_change() argument2699 ibev->element.port_num = port; in handle_port_change()2712 ibev->event = (eqe->sub_type == MLX5_PORT_CHANGE_SUBTYPE_ACTIVE) ? in handle_port_change()[all …]
2346 struct ib_event ibev = { }; in mlx4_ib_scan_netdev() local2362 ibev.device = &ibdev->ib_dev; in mlx4_ib_scan_netdev()2363 ibev.element.port_num = dev->dev_port + 1; in mlx4_ib_scan_netdev()2364 ibev.event = event == NETDEV_UP ? IB_EVENT_PORT_ACTIVE : in mlx4_ib_scan_netdev()2366 ib_dispatch_event(&ibev); in mlx4_ib_scan_netdev()3137 struct ib_event ibev; in handle_bonded_port_state_event() local3158 ibev.device = &ibdev->ib_dev; in handle_bonded_port_state_event()3159 ibev.element.port_num = 1; in handle_bonded_port_state_event()3160 ibev.event = (bonded_port_state == IB_PORT_ACTIVE) ? in handle_bonded_port_state_event()3163 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()