diff options
author | Bart Van Assche <[email protected]> | 2014-10-19 18:05:33 +0300 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2014-10-28 13:55:08 -0700 |
commit | ab477c1ff5e0a744c072404bf7db51bfe1f05b6e (patch) | |
tree | 96058ba922e9f7cecd929a464a40cae51cbeaa6e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2774f430ea65fddc068865d364bb254d2816648 (diff) |
srp-target: Retry when QP creation fails with ENOMEM
It is not guaranteed to that srp_sq_size is supported
by the HCA. So if we failed to create the QP with ENOMEM,
try with a smaller srp_sq_size. Keep it up until we hit
MIN_SRPT_SQ_SIZE, then fail the connection.
Reported-by: Mark Lehrer <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Cc: <[email protected]> # 3.4+
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions