]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Add judgment on the execution result of CMDQ that free vf resource
authorWenpeng Liang <liangwenpeng@huawei.com>
Sat, 9 Apr 2022 08:32:53 +0000 (16:32 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 11 Apr 2022 14:00:34 +0000 (11:00 -0300)
commit4c1d3d898f5a28cf441d52b2b679f611cc4ed99a
tree87e9eed81f1757cde5dfed1cafb294412dc39084
parent83f2c1eb2b4eba4356d46baa04e185c7b8d9734e
RDMA/hns: Add judgment on the execution result of CMDQ that free vf resource

CDMQ may fail to execute, so its return value should not be ignored.

Link: https://lore.kernel.org/r/20220409083254.9696-5-liangwenpeng@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c