This series changes the wrap around condition and avoid using the power of 2 number of entries while creating the HW resources like QPs/CQs/MRs. Also, added backward compatibility to work with different versions of the driver and library. Corresponding lib changes are available in the following pull request. https://github.com/linux-rdma/rdma-core/pull/1400 Thanks, Selvin Xavier Chandramohan Akula (2): RDMA/bnxt_re: Refactor the queue index update bnxt_re: Remove roundup_pow_of_two depth for all hardware queue resources drivers/infiniband/hw/bnxt_re/ib_verbs.c | 57 ++++++++---- drivers/infiniband/hw/bnxt_re/ib_verbs.h | 7 ++ drivers/infiniband/hw/bnxt_re/qplib_fp.c | 138 ++++++++++++++--------------- drivers/infiniband/hw/bnxt_re/qplib_fp.h | 20 ++++- drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 17 ++-- drivers/infiniband/hw/bnxt_re/qplib_rcfw.h | 4 +- drivers/infiniband/hw/bnxt_re/qplib_res.c | 2 +- drivers/infiniband/hw/bnxt_re/qplib_res.h | 37 +++++--- include/uapi/rdma/bnxt_re-abi.h | 9 ++ 9 files changed, 177 insertions(+), 114 deletions(-) -- 2.5.5
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature