RDMA/hns: Fix an inappropriate err code for unsupported operations
driver inclusion category: cleanup bugzilla: https://gitee.com/openeuler/kernel/issues/I8DJVZ -------------------------------------------------------------------------- EOPNOTSUPP is more situable than EINVAL for allocating XRCD while XRC is not supported and unsupported resizing SRQ. Fixes: 32548870 ("RDMA/hns: Add support for XRC on HIP09") Fixes: 221109e6 ("RDMA/hns: Add interception for resizing SRQs") Signed-off-by:Junxian Huang <huangjunxian6@hisilicon.com>
Loading
Please sign in to comment