Home
last modified time | relevance | path

Searched refs:ibev (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dmain.c2343 struct ib_event ibev = { }; in mlx4_ib_scan_netdevs() local
2359 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() local
3178 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 …]
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dmain.c59 struct ib_event ibev; in qedr_ib_dispatch_event() local
61 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()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c238 struct ib_event ibev = { }; in mlx5_netdev_event() local
249 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() argument
4567 struct ib_event *ibev) in handle_port_change() argument
4571 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 …]