commit | 9efe10a1e1a1ab1dba0af0f520e0697f6e81ebf1 | [log] [tgz] |
---|---|---|
author | Steve Wise <swise@opengridcomputing.com> | Thu Oct 06 09:32:44 2011 -0700 |
committer | Roland Dreier <roland@purestorage.com> | Thu Oct 06 09:32:44 2011 -0700 |
tree | 1c5d3c84ee7cdb3c0d668ce5ce77217242c078bc | |
parent | 976d167615b64e14bc1491ca51d424e2ba9a5e84 [diff] |
RDMA/cxgb4: Fail RDMA initialization for unsupported cards The iw_cxgb4 module crashes at init time if the T4 card does not support RDMA. So clean up the init logic to correctly deal with non-RDMA cards. - If any RDMA resources are not available, then fail the initialization logging an info message. - Clean up properly on initialization failures. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>