Searched refs:delay_drop (Results 1 – 3 of 3) sorted by relevance
2585 struct mlx5_ib_delay_drop *delay_drop = in delay_drop_handler() local2589 atomic_inc(&delay_drop->events_cnt); in delay_drop_handler()2591 mutex_lock(&delay_drop->lock); in delay_drop_handler()2592 err = mlx5_core_set_delay_drop(delay_drop->dev, delay_drop->timeout); in delay_drop_handler()2594 mlx5_ib_warn(delay_drop->dev, "Failed to set delay drop, timeout=%u\n", in delay_drop_handler()2595 delay_drop->timeout); in delay_drop_handler()2596 delay_drop->activate = false; in delay_drop_handler()2598 mutex_unlock(&delay_drop->lock); in delay_drop_handler()2610 schedule_work(&ibdev->delay_drop.delay_drop_work); in handle_general_event()3131 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()5150 mutex_lock(&dev->delay_drop.lock); in set_delay_drop()5151 if (dev->delay_drop.activate) in set_delay_drop()5154 err = mlx5_core_set_delay_drop(dev, dev->delay_drop.timeout); in set_delay_drop()5158 dev->delay_drop.activate = true; in set_delay_drop()5160 mutex_unlock(&dev->delay_drop.lock); in set_delay_drop()5163 atomic_inc(&dev->delay_drop.rqs_cnt); in set_delay_drop()
1138 struct mlx5_ib_delay_drop delay_drop; member