diff options
author | Xi Wang <wangxi11@huawei.com> | 2018-06-06 15:07:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-06 20:02:48 +0200 |
commit | 8e52a602b5126183f7a6487c4d48f6a00af4e4fd (patch) | |
tree | ec2f4b5c77d633b175ebb0f137bd736be6b1757d /net/rxrpc/conn_event.c | |
parent | net: hns3: Fix for VF mailbox receiving unknown message (diff) | |
download | linux-8e52a602b5126183f7a6487c4d48f6a00af4e4fd.tar.xz linux-8e52a602b5126183f7a6487c4d48f6a00af4e4fd.zip |
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 'net/rxrpc/conn_event.c')
0 files changed, 0 insertions, 0 deletions