Lines Matching refs:ibev
2346 struct ib_event ibev = { }; in mlx4_ib_scan_netdev() local
2362 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() local
3158 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()
3211 struct ib_event ibev; in mlx4_ib_event() local
3252 ibev.event = IB_EVENT_PORT_ACTIVE; in mlx4_ib_event()
3258 ibev.event = IB_EVENT_PORT_ERR; in mlx4_ib_event()
3263 ibev.event = IB_EVENT_DEVICE_FATAL; in mlx4_ib_event()
3318 ibev.device = &ibdev->ib_dev; in mlx4_ib_event()
3319 ibev.element.port_num = mlx4_is_bonded(ibdev->dev) ? 1 : (u8)p; in mlx4_ib_event()
3321 ib_dispatch_event(&ibev); in mlx4_ib_event()