Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmain.c208 struct ib_event ibev = { }; in mlx5_netdev_event() local
219 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() argument
2793 struct ib_event *ibev) in handle_port_change() argument
2797 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 …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmain.c2340 struct ib_event ibev = { }; in mlx4_ib_scan_netdevs() local
2356 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() local
3172 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 …]
/kernel/linux/linux-5.10/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()