aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorWeihang Li <[email protected]>2019-06-03 10:09:22 +0800
committerDavid S. Miller <[email protected]>2019-06-03 15:32:50 -0700
commit00ea6e5fda9d2be1c6af50aa4ebdeecc3149a758 (patch)
tree51d71d6a9454a18297d239659ed42efdfa56eeaf /net/unix/sysctl_net_unix.c
parent7832f0bd9fa4bd2224be2f8be854315119523df1 (diff)
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 <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: Huazhong tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions