linux_dsm_epyc7002/drivers/infiniband/hw/hns
oulijun 4f3f7a704b RDMA/hns: Update the usage of sr_max and rr_max field
This patch fixes the usage with sr_max filed and rr_max of qp
context when modify qp. Its modifications include:
1. Adjust location of filling sr_max filed of qpc
2. Only assign the number of responder resource if
   IB_QP_MAX_DEST_RD_ATOMIC bit is set
3. Only assign the number of outstanding resource if
   IB_QP_MAX_QP_RD_ATOMIC
4. Fix the assgin algorithms for the field of sr_max
   and rr_max of qp context

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-01-03 13:58:58 -07:00
..
hns_roce_ah.c Merge branch 'for-next-early' into for-next 2017-10-18 13:07:13 -04:00
hns_roce_alloc.c RDMA/hns: Get rid of virt_to_page and vmap calls after dma_alloc_coherent 2017-12-01 12:21:27 -07:00
hns_roce_cmd.c RDMA/hns: Refactor eq code for hip06 2017-12-22 09:21:38 -07:00
hns_roce_cmd.h RDMA/hns: Add eq support of hip08 2017-12-22 09:21:45 -07:00
hns_roce_common.h RDMA/hns: Add eq support of hip08 2017-12-22 09:21:45 -07:00
hns_roce_cq.c RDMA/hns: Refactor eq code for hip06 2017-12-22 09:21:38 -07:00
hns_roce_device.h RDMA/hns: Add rq inline data support for hip08 RoCE 2018-01-03 13:58:58 -07:00
hns_roce_hem.c RDMA/hns: Get rid of page operation after dma_alloc_coherent 2017-12-01 12:21:27 -07:00
hns_roce_hem.h RDMA/hns: Get rid of page operation after dma_alloc_coherent 2017-12-01 12:21:27 -07:00
hns_roce_hw_v1.c RDMA/hns: Add detailed comments for mb() call 2017-12-29 11:07:04 -07:00
hns_roce_hw_v1.h RDMA/hns: Refactor eq code for hip06 2017-12-22 09:21:38 -07:00
hns_roce_hw_v2.c RDMA/hns: Update the usage of sr_max and rr_max field 2018-01-03 13:58:58 -07:00
hns_roce_hw_v2.h RDMA/hns: Add eq support of hip08 2017-12-22 09:21:45 -07:00
hns_roce_main.c RDMA/hns: Refactor eq code for hip06 2017-12-22 09:21:38 -07:00
hns_roce_mr.c RDMA/hns: Add rereg mr support for hip08 2017-11-10 12:14:27 -05:00
hns_roce_pd.c RDMA/hns: Configure mac&gid and user access region for hip08 RoCE driver 2017-09-27 08:34:56 -04:00
hns_roce_qp.c RDMA/hns: Add rq inline data support for hip08 RoCE 2018-01-03 13:58:58 -07:00
Kconfig RDMA/hns: Initialize the PCI device for hip08 RoCE 2017-09-27 08:34:55 -04:00
Makefile RDMA/hns: Refactor eq code for hip06 2017-12-22 09:21:38 -07:00