]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/hns: Fix VF triggering PF reset in abnormal interrupt handler
authorJunxian Huang <huangjunxian6@hisilicon.com>
Fri, 6 Sep 2024 09:34:41 +0000 (17:34 +0800)
committerLeon Romanovsky <leon@kernel.org>
Tue, 10 Sep 2024 13:06:39 +0000 (16:06 +0300)
commit4321feefa5501a746ebf6a7d8b59e6b955ae1860
tree4dbd62c4dadd8c039e3116d12106aa75d9a29fa7
parent74d315b5af180220d561684d15897730135733a6
RDMA/hns: Fix VF triggering PF reset in abnormal interrupt handler

In abnormal interrupt handler, a PF reset will be triggered even if
the device is a VF. It should be a VF reset.

Fixes: 2b9acb9a97fe ("RDMA/hns: Add the process of AEQ overflow for hip08")
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20240906093444.3571619-7-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c