diff options
| author | Aleksandr Loktionov <[email protected]> | 2019-04-24 05:20:55 -0700 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2019-06-14 13:03:39 -0700 |
| commit | c1e212bfc32ea8368ef3fa5232203029be507908 (patch) | |
| tree | c2d3accc5b50904d6a669814b9ed3f6143c51f98 /tools/perf/scripts/python | |
| parent | 781ee4ae16e5c7482ed2e0027aaaccace4c7a885 (diff) | |
i40e: Missing response checks in driver when starting/stopping FW LLDP
Driver updated pf->flags before calling i40e_aq_start_lldp().
This patch moved down updating pf->flags down so flags will be
updated only in case of successful i40e_aq_start_lldp() call.
Also was introduced is_reset_needed local flag to avoid unnecessary h/w
reset in case 40e_aq_start_lldp() didn't change lldp state.
Signed-off-by: Aleksandr Loktionov <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions