linux/drivers/infiniband/hw
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
..
bnxt_re RDMA v5.15 merge window 2nd Pull Request 2021-09-09 11:14:14 -07:00
cxgb4 Merge branch 'sg_nents' into rdma.git for-next 2021-08-30 09:49:59 -03:00
efa RDMA v5.15 merge window Pull Request 2021-09-02 14:47:21 -07:00
hfi1 IB/hfi1: Fix abba locking issue with sc_disable() 2021-10-13 13:33:22 -03:00
hns RDMA/hns: Modify the value of MAX_LP_MSG_LEN to meet hardware compatibility 2021-10-29 11:51:47 -03:00
irdma RDMA/irdma: Do not hold qos mutex twice on QP resume 2021-10-19 20:22:01 -03:00
mlx4 Merge branch 'sg_nents' into rdma.git for-next 2021-08-30 09:49:59 -03:00
mlx5 RDMA/mlx5: Initialize the ODP xarray when creating an ODP MR 2021-10-19 20:19:59 -03:00
mthca RDMA: switch from 'pci_' to 'dma_' API 2021-08-23 13:43:54 -03:00
ocrdma RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
qedr rdma/qedr: Fix crash due to redundant release of device's qp memory 2021-10-19 20:17:44 -03:00
qib IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields 2021-10-13 13:26:04 -03:00
usnic RDMA/usnic: Lock VF with mutex instead of spinlock 2021-09-24 10:55:28 -03:00
vmw_pvrdma RDMA: switch from 'pci_' to 'dma_' API 2021-08-23 13:43:54 -03:00
Makefile RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00