diff options
author | Michael S. Tsirkin <mst@dev.mellanox.co.il> | 2007-05-24 18:32:46 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-05-24 14:02:40 -0700 |
commit | 2dfbfc37121d307e1f1d24c2979382cb17b19347 (patch) | |
tree | b301f2f55738bb6ec9621fbe81161d93701c6bcf /drivers/infiniband/ulp/ipoib/ipoib.h | |
parent | 8fd357a6e3375083f7d321413eb8f6739491f342 (diff) |
IPoIB/cm: Drain cq in ipoib_cm_dev_stop()
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>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index a0b3782c762..158759e28a5 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h @@ -429,6 +429,7 @@ int ipoib_vlan_delete(struct net_device *pdev, unsigned short pkey); void ipoib_pkey_poll(struct work_struct *work); int ipoib_pkey_dev_delay_open(struct net_device *dev); +void ipoib_drain_cq(struct net_device *dev); #ifdef CONFIG_INFINIBAND_IPOIB_CM |