Commit 18f1f202 authored by zhaoweibo's avatar zhaoweibo Committed by zhangchangzhong
Browse files

RDMA/hns: Add check for user-configured max_inline_data value

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I51UWX


CVE: NA

-------------------------------------------------------------

When the user-configured max_inline_data value exceeds the hardware
specification, an err needs to be returned.

Fixes: 87d3b87b ("RDMA/hns: Optimize qp param setup flow")
Signed-off-by: default avatarzhaoweibo <zhaoweibo3@huawei.com>
Reviewed-by: default avatarChunzhi Hu <huchunzhi@huawei.com>
Signed-off-by: default avatarZhang Changzhong <zhangchangzhong@huawei.com>
parent 5f77c283
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment