RDMA/bnxt_re: Refactor the BNXT_RE_METHOD_GET_TOGGLE_MEM method
authorChandramohan Akula <chandramohan.akula@broadcom.com>
Thu, 29 Aug 2024 15:34:04 +0000 (08:34 -0700)
committerLeon Romanovsky <leon@kernel.org>
Mon, 2 Sep 2024 07:10:36 +0000 (10:10 +0300)
commitb4207630e0040b2f8d59ee28bb645771db31d37f
treea7bbac8fc51a151a1946aa324c3b83f962dfb566
parent640c2cf84e1de62e6bb0738dc2128d5506e7e5bc
RDMA/bnxt_re: Refactor the BNXT_RE_METHOD_GET_TOGGLE_MEM method

Refactor the code in this function to have common code.
This is used in subsequent patches.

Signed-off-by: Chandramohan Akula <chandramohan.akula@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1724945645-14989-3-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/ib_verbs.c