diff options
| author | Weihang Li <[email protected]> | 2019-06-07 10:03:07 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-06-09 13:20:59 -0700 |
| commit | 0cd8618298cc390309ddaf2549d30218418f739b (patch) | |
| tree | be8ac85c0906100655ceebc622cb2a818a0186c9 /tools/perf/scripts/python/bin | |
| parent | 4a43caf5b74f80749f4e76edd151244ce59f0a47 (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 <[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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions