]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/bnxt_re: Fix the compatibility flag for variable size WQE
authorSelvin Xavier <selvin.xavier@broadcom.com>
Wed, 4 Sep 2024 10:04:12 +0000 (03:04 -0700)
committerLeon Romanovsky <leon@kernel.org>
Mon, 9 Sep 2024 18:17:09 +0000 (21:17 +0300)
commitc6b2b5c86d448630cea58bf6fdfc761da3e3efb5
treeac9d9faa1741823146b240b6aba65ea20fd5a6b6
parent7ebb00cea49db641b458edef0ede389f7004821d
RDMA/bnxt_re: Fix the compatibility flag for variable size WQE

For older adapters that doesn't support variable size WQE,
driver is wrongly reporting that variable WQE is supported,
when the latest library is used.

Report the variable WQE capability only if the driver supports
it.

Fixes: 10a104c0debb ("RDMA/bnxt_re: Enable variable size WQEs for user space applications")
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1725444253-13221-2-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/ib_verbs.c