diff options
author | Ishai Rabinovitz <ishai@mellanox.co.il> | 2006-06-17 20:37:38 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-06-17 20:37:38 -0700 |
commit | 526b4caa0a48382115fa9d8f7d8caf68dbcaa2bf (patch) | |
tree | 82383da15f298a7d42f161e12bea175f55b78dea /include/rdma | |
parent | 0c0450db31481aa01a04e7faecc93ee6841972d6 (diff) | |
download | op-kernel-dev-526b4caa0a48382115fa9d8f7d8caf68dbcaa2bf.zip op-kernel-dev-526b4caa0a48382115fa9d8f7d8caf68dbcaa2bf.tar.gz |
IB/srp: Factor out common request reset code
Misc cleanups in ib_srp:
1) I think that it is more efficient to move the req entries from req_list
to free_list in srp_reconnect_target (rather than rebuild the free_list).
(In any case this code is shorter).
2) This allows us to reuse code in srp_reset_device and srp_reconnect_target
and call a new function srp_reset_req.
Signed-off-by: Ishai Rabinovitz <ishai@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions