net/hns3: fix concurrent interrupt handling
authorHongbo Zheng <zhenghongbo3@huawei.com>
Sat, 10 Apr 2021 01:11:16 +0000 (09:11 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 13 Apr 2021 09:13:41 +0000 (11:13 +0200)
commitf9f24ecd794f88231110c823cdeff5d7ec9a4382
tree66158f7c50546c7936086e62b09793168a955f1e
parentdfca14a3a514959505ad1e7f7a1a7999ed7793d9
net/hns3: fix concurrent interrupt handling

Currently, if RAS interrupt and FLR occurred at the same time, FLR will
be detected and corresponding schedule state will be set during RAS
interrupt processing. However, the schedule state value will be
overridden in subsequent RAS processing, resulting in FLR processing
failure. This patch solves this problem.

Fixes: 2790c6464725 ("net/hns3: support device reset")
Cc: stable@dpdk.org
Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_intr.c