commit | 47f2bce9021b4974ed33b072ebb8348c8145c946 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Tue Nov 15 00:19:21 2005 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Tue Nov 15 00:19:21 2005 -0800 |
tree | 2d17f2cdc77646d07cb2a598e3d2bcbdf94675ad | |
parent | 5f068992a1bccda5574b4f6d33458ef806686d7f [diff] |
[IB] srp: don't post receive if no send buf available Have __srp_get_tx_iu() fail if the target port's request limit will not allow the initiator to post a send. This avoids continuing on and posting a receive, and then failing to post a corresponding send. If that happens, then the initiator will end up with an extra receive posted, and if this happens to much, the receive queue will overflow. Signed-off-by: Roland Dreier <rolandd@cisco.com>