diff options
| author | Daniel Jurgens <danielj@mellanox.com> | 2016-06-30 17:34:41 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:25:56 +0200 |
| commit | 03184b1b389c1dd3aefa1ab94a684c3f832f7a1a (patch) | |
| tree | 8728429c66a239fea1324e3486dd5aea54e483cc /tools/perf/scripts/python | |
| parent | 04391e1040b6cd51e3b449a6268f6d925b1c9ee9 (diff) | |
net/mlx5: Fix wait_vital for VFs and remove fixed sleep
commit d57847dc4177c6fd8d950cb533f5edf0eab45b11 upstream.
The device ID for VFs is in a different location than PFs. This results
in the poll always timing out for VFs. There's no good way to read the
VF device ID without using the PF's configuration space. Switch to waiting
for the health poll to start incrementing. Also remove the 1s sleep
at the beginning.
fixes: 89d44f0a6c73 ('net/mlx5_core: Add pci error handlers to mlx5_core
driver')
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
