Fix missing value in uar_page field for ratelimit in mlx5en(4).

This is a regression issue after the new UAR API was introduced
by f8f5b459d2 .

MFC after:	1 week
Sponsored by:	Mellanox Technologies // NVIDIA Networking
This commit is contained in:
Hans Petter Selasky 2021-01-26 17:01:34 +01:00
parent 4e76e4c301
commit b8051298b0

View file

@ -66,6 +66,7 @@ mlx5e_rl_build_cq_param(struct mlx5e_rl_priv_data *rl,
MLX5_SET(cqc, cqc, log_cq_size, log_sq_size);
MLX5_SET(cqc, cqc, cq_period, rl->param.tx_coalesce_usecs);
MLX5_SET(cqc, cqc, cq_max_count, rl->param.tx_coalesce_pkts);
MLX5_SET(cqc, cqc, uar_page, rl->priv->mdev->priv.uar->index);
switch (rl->param.tx_coalesce_mode) {
case 0: