RDMA/cxgb4: Fail RDMA initialization for unsupported cards
authorSteve Wise <swise@opengridcomputing.com>
Thu, 6 Oct 2011 16:32:44 +0000 (09:32 -0700)
committerRoland Dreier <roland@purestorage.com>
Thu, 6 Oct 2011 16:32:44 +0000 (09:32 -0700)
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>

No differences found