iw_cxgb4: add queue drain functions
[linux-2.6-block.git] / drivers / infiniband / hw / cxgb4 / provider.c
index ec04272fbdc2ffbf882318678332a506c1f1d4ec..104662d38d1eee05493505448125be78f41ea258 100644 (file)
@@ -564,6 +564,8 @@ int c4iw_register_device(struct c4iw_dev *dev)
        dev->ibdev.get_protocol_stats = c4iw_get_mib;
        dev->ibdev.uverbs_abi_ver = C4IW_UVERBS_ABI_VERSION;
        dev->ibdev.get_port_immutable = c4iw_port_immutable;
+       dev->ibdev.drain_sq = c4iw_drain_sq;
+       dev->ibdev.drain_rq = c4iw_drain_rq;
 
        dev->ibdev.iwcm = kmalloc(sizeof(struct iw_cm_verbs), GFP_KERNEL);
        if (!dev->ibdev.iwcm)