summaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorChengchang Tang <tangchengchang@huawei.com>2025-03-27 19:47:24 +0800
committerJason Gunthorpe <jgg@nvidia.com>2025-04-07 15:30:09 -0300
commit9beb2c91fb86e0be70a5833c6730441fa3c9efa8 (patch)
tree19aef98a60d6c687dd6a9bac5fe200b309acf5a1 /rust/helpers/platform.c
parent1b2fe85f3cf19026a0e9037242bcbf7e736b22e3 (diff)
downloadlinux-9beb2c91fb86e0be70a5833c6730441fa3c9efa8.tar.gz
linux-9beb2c91fb86e0be70a5833c6730441fa3c9efa8.tar.bz2
linux-9beb2c91fb86e0be70a5833c6730441fa3c9efa8.zip
RDMA/hns: Fix wrong maximum DMA segment size
Set maximum DMA segment size to 2G instead of UINT_MAX due to HW limit. Fixes: e0477b34d9d1 ("RDMA: Explicitly pass in the dma_device to ib_register_device") Link: https://patch.msgid.link/r/20250327114724.3454268-3-huangjunxian6@hisilicon.com Signed-off-by: Chengchang Tang <tangchengchang@huawei.com> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions