diff options
author | 2013-06-04 05:13:27 +0000 | |
---|---|---|
committer | 2013-06-04 12:58:24 -0700 | |
commit | 5efe5355f22fb9b7bb64d19809c0a75805e0ccb8 (patch) | |
tree | edca2ce4a95dedb53d9ee6a9457f54b15f7da47c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx4_en: Fix adaptive moderation cq update (diff) | |
download | linux-dev-5efe5355f22fb9b7bb64d19809c0a75805e0ccb8.tar.xz linux-dev-5efe5355f22fb9b7bb64d19809c0a75805e0ccb8.zip |
net/mlx4_core: Return -EPROBE_DEFER when a VF is probed before PF is sufficiently initialized
In the PF initialization, SRIOV is enabled before the PF is fully initialized.
This allows the kernel to probe the newly-exposed VFs before the PF is ready
to handle them (nested probes).
Have the probe method return the -EPROBE_DEFER value in this situation (instead
of the VF probe method retrying its initialization in a loop, and returning -EIO
on failure). When -EPROBE_DEFER is returned by the VF probe method, the kernel
itself will retry the probe after a suitable delay.
Based upon a suggestion by Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions