commit | 7b3687df66cab4ecd6efb42cfa0c7de60cc4e3b9 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Fri Jan 25 14:15:24 2008 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Jan 25 14:15:24 2008 -0800 |
tree | 8a5369a9fb1d4c645833852bec9d29bf3319e5ea | |
parent | 1efb61444ca3a598dfafb7a6c573c5d5d42d3432 [diff] |
IPoIB/cm: Factor out ipoib_cm_create_srq() Factor out the code to create an SRQ and allocate the receive ring in ipoib_cm_dev_init() into a new function ipoib_cm_create_srq(). This will make the code neater when support for devices that don't implement SRQs is added. Signed-off-by: Roland Dreier <rolandd@cisco.com>