linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3/hns3pf
Xi Wang 8e52a602b5 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: 466b0c0039 ("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>
2018-06-06 14:02:48 -04:00
..
hclge_cmd.c net: hns3: Fixes kernel panic issue during rmmod hns3 driver 2018-05-20 18:53:59 -04:00
hclge_cmd.h net: hns3: Adds support for led locate command for copper port 2018-05-29 00:04:26 -04:00
hclge_dcb.c net: hns3: add support for querying pfc puase packets statistic 2018-03-11 22:53:32 -04:00
hclge_dcb.h net: hns3: Add hclge_dcb module for the support of DCB feature 2017-09-28 10:35:12 -07:00
hclge_main.c net: hns3: Optimize PF CMDQ interrupt switching process 2018-06-06 14:02:48 -04:00
hclge_main.h net: hns3: Optimize the PF's process of updating multicast MAC 2018-06-01 14:23:57 -04:00
hclge_mbx.c net: hns3: Optimize the VF's process of updating multicast MAC 2018-06-01 14:23:58 -04:00
hclge_mdio.c net: hns3: fix for phy_addr error in hclge_mac_mdio_config 2018-05-01 15:08:37 -04:00
hclge_mdio.h net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC 2017-08-03 15:08:17 -07:00
hclge_tm.c net: hns3: Fixes the back pressure setting when sriov is enabled 2018-05-16 11:33:08 -04:00
hclge_tm.h net: hns3: Fixes the back pressure setting when sriov is enabled 2018-05-16 11:33:08 -04:00
Makefile net: hns3: Add mailbox support to PF driver 2017-12-15 10:55:35 -05:00