IPoIB/cm: Drain cq in ipoib_cm_dev_stop()
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>
Thu, 24 May 2007 15:32:46 +0000 (18:32 +0300)
committerRoland Dreier <rolandd@cisco.com>
Thu, 24 May 2007 21:02:40 +0000 (14:02 -0700)
Since NAPI polling is disabled while ipoib_cm_dev_stop() is running,
ipoib_cm_dev_stop() must poll the CQ itself in order to see the
packets draining.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found