aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/realtek/r8169.c
diff options
context:
space:
mode:
authorWeihang Li <liweihang@hisilicon.com>2019-06-03 10:09:22 +0800
committerDavid S. Miller <davem@davemloft.net>2019-06-03 15:32:50 -0700
commit00ea6e5fda9d2be1c6af50aa4ebdeecc3149a758 (patch)
tree51d71d6a9454a18297d239659ed42efdfa56eeaf /drivers/net/ethernet/realtek/r8169.c
parentnet: hns3: add opcode about query and clear RAS & MSI-X to special opcode (diff)
downloadlinux-dev-00ea6e5fda9d2be1c6af50aa4ebdeecc3149a758.tar.xz
linux-dev-00ea6e5fda9d2be1c6af50aa4ebdeecc3149a758.zip
net: hns3: delay and separate enabling of NIC and ROCE HW errors
All RAS and MSI-X should be enabled just in the final stage of HNS3 initialization. It means that they should be enabled in hclge_init_xxx_client_instance instead of hclge_ae_dev(). Especially MSI-X, if it is enabled before opening vector0 IRQ, there are some chances that a MSI-X error will cause failure on initialization of NIC client instane. So this patch delays enabling of HW errors. Otherwise, we also separate enabling of ROCE RAS from NIC, because it's not reasonable to enable ROCE RAS if we even don't have a ROCE driver. Signed-off-by: Weihang Li <liweihang@hisilicon.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek/r8169.c')
0 files changed, 0 insertions, 0 deletions