mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
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:
1 parent
4e76e4c301
commit
b8051298b0
1 file changed
+1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user