summaryrefslogtreecommitdiff
path: root/rust/kernel/xarray.rs
diff options
context:
space:
mode:
authorwenglianfa <wenglianfa@huawei.com>2025-10-16 19:40:49 +0800
committerLeon Romanovsky <leon@kernel.org>2025-10-27 05:44:00 -0400
commitf5a7cbea5411668d429eb4ffe96c4063fe8dac9e (patch)
tree339a32744f69df7e695847778413aaac9dcca92b /rust/kernel/xarray.rs
parentc4b67b514af8c2d73c64b36e0cd99e9b26b9ac82 (diff)
RDMA/hns: Fix the modification of max_send_sge
The actual sge number may exceed the value specified in init_attr->cap when HW needs extra sge to enable inline feature. Since these extra sges are not expected by ULP, return the user-specified value to ULP instead of the expanded sge number. Fixes: 0c5e259b06a8 ("RDMA/hns: Fix incorrect sge nums calculation") Signed-off-by: wenglianfa <wenglianfa@huawei.com> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20251016114051.1963197-3-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'rust/kernel/xarray.rs')
0 files changed, 0 insertions, 0 deletions