Searched refs:delay_drop (Results 1 – 3 of 3) sorted by relevance
2593 struct mlx5_ib_delay_drop *delay_drop = in delay_drop_handler() local2597 atomic_inc(&delay_drop->events_cnt); in delay_drop_handler()2599 mutex_lock(&delay_drop->lock); in delay_drop_handler()2600 err = mlx5_core_set_delay_drop(delay_drop->dev, delay_drop->timeout); in delay_drop_handler()2602 mlx5_ib_warn(delay_drop->dev, "Failed to set delay drop, timeout=%u\n", in delay_drop_handler()2603 delay_drop->timeout); in delay_drop_handler()2604 delay_drop->activate = false; in delay_drop_handler()2606 mutex_unlock(&delay_drop->lock); in delay_drop_handler()2618 schedule_work(&ibdev->delay_drop.delay_drop_work); in handle_general_event()3103 struct mlx5_ib_delay_drop *delay_drop = filp->private_data; in delay_drop_timeout_read() local[all …]
791 atomic_dec(&dev->delay_drop.rqs_cnt); in destroy_user_rq()5085 mutex_lock(&dev->delay_drop.lock); in set_delay_drop()5086 if (dev->delay_drop.activate) in set_delay_drop()5089 err = mlx5_core_set_delay_drop(dev, dev->delay_drop.timeout); in set_delay_drop()5093 dev->delay_drop.activate = true; in set_delay_drop()5095 mutex_unlock(&dev->delay_drop.lock); in set_delay_drop()5098 atomic_inc(&dev->delay_drop.rqs_cnt); in set_delay_drop()
1083 struct mlx5_ib_delay_drop delay_drop; member