diff options
author | Lang Cheng <chenglang@huawei.com> | 2019-06-14 22:56:03 +0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-06-20 15:05:48 -0400 |
commit | 89a6da3cb8f30ee0aeca924d84bef688f22f883e (patch) | |
tree | e5ddabf4d9c129c33b347b5769113a8b6207a433 /drivers/infiniband/hw/mlx4/cq.c | |
parent | a49b1dc7ae447d7085360cd587fc1c8b9ec6c871 (diff) | |
download | linux-stable-89a6da3cb8f30ee0aeca924d84bef688f22f883e.tar.gz linux-stable-89a6da3cb8f30ee0aeca924d84bef688f22f883e.tar.bz2 linux-stable-89a6da3cb8f30ee0aeca924d84bef688f22f883e.zip |
RDMA/hns: reset function when removing module
During removing the driver, we needs to notify the roce engine to
stop working immediately,and symmetrically recycle the hardware
resources requested during initialization.
The hardware provides a command called function clear that can package
these operations,so that the driver can only focus on releasing
resources that applied from the operating system.
This patch implements the call of this command.
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/cq.c')
0 files changed, 0 insertions, 0 deletions