Searched refs:delay_drop (Results 1 – 3 of 3) sorted by relevance
2586 struct mlx5_ib_delay_drop *delay_drop = in delay_drop_handler() local2590 atomic_inc(&delay_drop->events_cnt); in delay_drop_handler()2592 mutex_lock(&delay_drop->lock); in delay_drop_handler()2593 err = mlx5_core_set_delay_drop(delay_drop->dev, delay_drop->timeout); in delay_drop_handler()2595 mlx5_ib_warn(delay_drop->dev, "Failed to set delay drop, timeout=%u\n", in delay_drop_handler()2596 delay_drop->timeout); in delay_drop_handler()2597 delay_drop->activate = false; in delay_drop_handler()2599 mutex_unlock(&delay_drop->lock); in delay_drop_handler()2611 schedule_work(&ibdev->delay_drop.delay_drop_work); in handle_general_event()3132 struct mlx5_ib_delay_drop *delay_drop = filp->private_data; in delay_drop_timeout_read() local[all …]
874 atomic_dec(&dev->delay_drop.rqs_cnt); in destroy_user_rq()5177 mutex_lock(&dev->delay_drop.lock); in set_delay_drop()5178 if (dev->delay_drop.activate) in set_delay_drop()5181 err = mlx5_core_set_delay_drop(dev, dev->delay_drop.timeout); in set_delay_drop()5185 dev->delay_drop.activate = true; in set_delay_drop()5187 mutex_unlock(&dev->delay_drop.lock); in set_delay_drop()5190 atomic_inc(&dev->delay_drop.rqs_cnt); in set_delay_drop()
1138 struct mlx5_ib_delay_drop delay_drop; member