RDMA/bnxt_re: Initialize mutex dbq_lock
Fix the missing dbq_lock mutex initialization
Fixes: 2ad4e6303a
("RDMA/bnxt_re: Implement doorbell pacing algorithm")
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://lore.kernel.org/r/1692032419-21680-1-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
parent
ca60fd116c
commit
811e0ce9e6
@ -920,6 +920,7 @@ static struct bnxt_re_dev *bnxt_re_dev_add(struct bnxt_aux_priv *aux_priv,
|
||||
rdev->id = rdev->en_dev->pdev->devfn;
|
||||
INIT_LIST_HEAD(&rdev->qp_list);
|
||||
mutex_init(&rdev->qp_lock);
|
||||
mutex_init(&rdev->pacing.dbq_lock);
|
||||
atomic_set(&rdev->stats.res.qp_count, 0);
|
||||
atomic_set(&rdev->stats.res.cq_count, 0);
|
||||
atomic_set(&rdev->stats.res.srq_count, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user