]> git.baikalelectronics.ru Git - kernel.git/commit
IPoIB/cm: Factor out ipoib_cm_free_rx_ring()
authorRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:24 +0000 (14:15 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:24 +0000 (14:15 -0800)
commit898b0a57f7c1590b6bb0376cb17c4e936e479b9a
treebcc6fde51f22f89f9dc86f7555956ef245996896
parentb6c1fb1ad349df24df02c6056c99a66c441a5078
IPoIB/cm: Factor out ipoib_cm_free_rx_ring()

Factor out the code to unmap/free skbs and free the receive ring in
ipoib_cm_dev_cleanup() into a new function ipoib_cm_free_rx_ring().
This function will be called from a couple of other places when
support for devices that don't implement SRQs is added.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c