diff options
author | Steve Wise <swise@opengridcomputing.com> | 2011-10-06 09:32:44 -0700 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-10-06 09:32:44 -0700 |
commit | 9efe10a1e1a1ab1dba0af0f520e0697f6e81ebf1 (patch) | |
tree | 1c5d3c84ee7cdb3c0d668ce5ce77217242c078bc /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
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>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions