diff options
| author | 2019-06-07 10:03:07 +0800 | |
|---|---|---|
| committer | 2019-06-09 13:20:59 -0700 | |
| commit | 0cd8618298cc390309ddaf2549d30218418f739b (patch) | |
| tree | be8ac85c0906100655ceebc622cb2a818a0186c9 /scripts/stackusage | |
| parent | net: hns3: refactor hns3_get_new_int_gl function (diff) | |
net: hns3: trigger VF reset if a VF has an over_8bd_nfe_err
We trigger PF reset when a RAS error of NIC named over_8bd_nfe_err
occurred before. But it is possible that a VF causes that error, it's
reasonable to trigger VF reset instead of PF reset in this case.
This patch add detection of vf_id if a over_8bd_nfe_err occurs, if
vf_id is 0, we trigger PF reset. Otherwise, we will trigger VF reset
on the VF with error.
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
