Includes some generic improvments and code refactoring for the Notification Queue handling in the driver. Remove the data structures that store the NQ information out of the device structure. Fix few issues in selecting the NQ during CQ create. Also, fail the driver load if NIC driver can not allocate at least two NQs for RoCE. Please review and apply. Thanks, Selvin Xavier v1 -> v2: - Dropped patch 5 - Fixed error handling in patch 1 by adding bnxt_unregister_dev - Removed redundant comment in patch 3 Kalesh AP (4): RDMA/bnxt_re: Fail probe early when not enough MSI-x vectors are reserved RDMA/bnxt_re: Refactor NQ allocation RDMA/bnxt_re: Refurbish CQ to NQ hash calculation RDMA/bnxt_re: Cache MSIx info to a local structure drivers/infiniband/hw/bnxt_re/bnxt_re.h | 18 +++-- drivers/infiniband/hw/bnxt_re/ib_verbs.c | 41 +++++++---- drivers/infiniband/hw/bnxt_re/main.c | 114 ++++++++++++++++++++----------- drivers/infiniband/hw/bnxt_re/qplib_fp.c | 1 + drivers/infiniband/hw/bnxt_re/qplib_fp.h | 1 + 5 files changed, 115 insertions(+), 60 deletions(-) -- 2.5.5