Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af5a6c93 authored by Gal Pressman's avatar Gal Pressman Committed by Saeed Mahameed
Browse files

net/mlx5e: Use __set_bit for adaptive-moderation bit in RQ state



Make the code more clear by replacing the existing code with __set_bit.

Signed-off-by: default avatarGal Pressman <galp@mellanox.com>
Signed-off-by: default avatarTariq Toukan <tariqt@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 1e7477ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -820,7 +820,7 @@ static int mlx5e_open_rq(struct mlx5e_channel *c,
		goto err_destroy_rq;

	if (params->rx_dim_enabled)
		c->rq.state |= BIT(MLX5E_RQ_STATE_AM);
		__set_bit(MLX5E_RQ_STATE_AM, &c->rq.state);

	return 0;