Searched refs:delay_drop (Results 1 – 3 of 3) sorted by relevance
4532 struct mlx5_ib_delay_drop *delay_drop = in delay_drop_handler() local4536 atomic_inc(&delay_drop->events_cnt); in delay_drop_handler()4538 mutex_lock(&delay_drop->lock); in delay_drop_handler()4539 err = mlx5_core_set_delay_drop(delay_drop->dev->mdev, in delay_drop_handler()4540 delay_drop->timeout); in delay_drop_handler()4542 mlx5_ib_warn(delay_drop->dev, "Failed to set delay drop, timeout=%u\n", in delay_drop_handler()4543 delay_drop->timeout); in delay_drop_handler()4544 delay_drop->activate = false; in delay_drop_handler()4546 mutex_unlock(&delay_drop->lock); in delay_drop_handler()4558 schedule_work(&ibdev->delay_drop.delay_drop_work); in handle_general_event()[all …]
788 atomic_dec(&dev->delay_drop.rqs_cnt); in destroy_user_rq()5901 mutex_lock(&dev->delay_drop.lock); in set_delay_drop()5902 if (dev->delay_drop.activate) in set_delay_drop()5905 err = mlx5_core_set_delay_drop(dev->mdev, dev->delay_drop.timeout); in set_delay_drop()5909 dev->delay_drop.activate = true; in set_delay_drop()5911 mutex_unlock(&dev->delay_drop.lock); in set_delay_drop()5914 atomic_inc(&dev->delay_drop.rqs_cnt); in set_delay_drop()
988 struct mlx5_ib_delay_drop delay_drop; member