diff options
author | Xi Wang <wangxi11@huawei.com> | 2018-06-06 14:07:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-06 14:02:48 -0400 |
commit | 8e52a602b5126183f7a6487c4d48f6a00af4e4fd (patch) | |
tree | ec2f4b5c77d633b175ebb0f137bd736be6b1757d /Kconfig | |
parent | 6444e2a5f1e680278b58ced3568bdff84afe14a5 (diff) | |
download | linux-8e52a602b5126183f7a6487c4d48f6a00af4e4fd.tar.bz2 |
net: hns3: Optimize PF CMDQ interrupt switching process
When the PF frequently switches the CMDQ interrupt, if the CMDQ_SRC is
not cleared before the hardware interrupt is generated, the new interrupt
will not be reported.
This patch optimizes this problem by clearing CMDQ_SRC and RESET_STS
before enabling interrupt and syncing pending IRQ handlers after disabling
interrupt.
Fixes: 466b0c00391b ("net: hns3: Add support for misc interrupt")
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions