mirror of
https://github.com/opnsense/src.git
synced 2026-05-12 17:11:42 -04: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:
parent
4e76e4c301
commit
b8051298b0
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue