RDMA/bnxt_re: Initialize Doorbell pacing feature
authorChandramohan Akula <chandramohan.akula@broadcom.com>
Wed, 19 Jul 2023 05:02:53 +0000 (22:02 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 21 Jul 2023 19:15:32 +0000 (16:15 -0300)
commit586e613d37ec35572a332839973b9c3bccd0c545
tree259a21925494cb20eee51ae65d39e88e9879dbaf
parent61220e098e858951f1926d66c1490a96351e1c85
RDMA/bnxt_re: Initialize Doorbell pacing feature

Checks for pacing feature capability and get the doorbell pacing
configuration using FW commands. Allocate a page and initialize
the pacing parameters for the applications. Cleanup the page and
de-initialize the pacing during device removal.

Link: https://lore.kernel.org/r/1689742977-9128-4-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Chandramohan Akula <chandramohan.akula@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/bnxt_re/bnxt_re.h
drivers/infiniband/hw/bnxt_re/main.c
drivers/infiniband/hw/bnxt_re/qplib_res.h