linux/drivers/infiniband/hw/hns
Yixing Liu 0e60778efb RDMA/hns: Modify the value of MAX_LP_MSG_LEN to meet hardware compatibility
The upper limit of MAX_LP_MSG_LEN on HIP08 is 64K, and the upper limit on
HIP09 is 16K. Regardless of whether it is HIP08 or HIP09, only 16K will be
used. In order to ensure compatibility, it is unified to 16K.

Setting MAX_LP_MSG_LEN to 16K will not cause performance loss on HIP08.

Fixes: fbed9d2be2 ("RDMA/hns: Fix configuration of ack_req_freq in QPC")
Link: https://lore.kernel.org/r/20211029100537.27299-1-liangwenpeng@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-10-29 11:51:47 -03:00
..
hns_roce_ah.c RDMA/hns: Avoid filling sl in high 3 bits of vlan_id 2020-12-11 15:21:34 -04:00
hns_roce_alloc.c RDMA/hns: Delete unused hns bitmap interface 2021-08-24 09:15:17 -03:00
hns_roce_cmd.c RDMA/hns: Fix the double unlock problem of poll_sem 2021-08-03 13:42:44 -03:00
hns_roce_cmd.h RDMA/hns: Fix incorrect symbol types 2020-12-11 15:21:35 -04:00
hns_roce_common.h RDMA/hns: Add hr_reg_write_bool() 2021-06-21 15:03:41 -03:00
hns_roce_cq.c RDMA/hns: Add the check of the CQE size of the user space 2021-09-27 14:49:49 -03:00
hns_roce_db.c RDMA: Use the sg_table directly and remove the opencoded version from umem 2021-08-24 19:52:40 -03:00
hns_roce_device.h RDMA/hns: Bugfix for incorrect association between dip_idx and dgid 2021-08-25 13:55:30 -03:00
hns_roce_hem.c RDMA: Fix kernel-doc warnings about wrong comment 2021-06-21 20:32:50 -03:00
hns_roce_hem.h RDMA/hns: Clean the hardware related code for HEM 2021-05-28 20:13:58 -03:00
hns_roce_hw_v1.c RDMA/hns: Don't skip IB creation flow for regular RC QP 2021-08-03 13:44:26 -03:00
hns_roce_hw_v1.h RDMA/hns: Clean the hardware related code for HEM 2021-05-28 20:13:58 -03:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_hw_v2.c RDMA/hns: Modify the value of MAX_LP_MSG_LEN to meet hardware compatibility 2021-10-29 11:51:47 -03:00
hns_roce_hw_v2.h RDMA/hns: Delete unnecessary blank lines. 2021-08-26 12:12:21 -03:00
hns_roce_main.c Merge branch 'sg_nents' into rdma.git for-next 2021-08-30 09:49:59 -03:00
hns_roce_mr.c RDMA/hns: Fix return in hns_roce_rereg_user_mr() 2021-08-19 11:12:04 -03:00
hns_roce_pd.c RDMA/hns: Use IDA interface to manage uar index 2021-08-24 09:15:16 -03:00
hns_roce_qp.c RDMA/hns: Delete unnecessary blank lines. 2021-08-26 12:12:21 -03:00
hns_roce_restrack.c RDMA: Add a dedicated CQ resource tracker function 2020-06-23 11:46:27 -03:00
hns_roce_srq.c RDMA/hns: Use IDA interface to manage srq index 2021-08-24 09:15:16 -03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00