]> www.infradead.org Git - users/dwmw2/linux.git/commit
RDMA/bnxt_re: Avoid an extra hwrm per MR creation
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Mon, 2 Sep 2024 05:52:30 +0000 (22:52 -0700)
committerLeon Romanovsky <leon@kernel.org>
Mon, 2 Sep 2024 09:33:47 +0000 (12:33 +0300)
commitf786eebbbefa0c080d45533c5e0f66d500268961
treeec1bf2c0de805f29f8548ccfc67b64fc321952e0
parentb98d96971908b71be394c43d87d037b5fb4e6d8a
RDMA/bnxt_re: Avoid an extra hwrm per MR creation

Firmware now have a new mr registration command where
both MR allocation and registration can be done in a
single hwrm command. Driver has to issue this new hwrm
command whenever the support flag is set. This reduces
the number of hwrm issued per MR creation and speed up
the MR creation.

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1725256351-12751-4-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/bnxt_re/qplib_res.h
drivers/infiniband/hw/bnxt_re/qplib_sp.c
drivers/infiniband/hw/bnxt_re/qplib_sp.h