IB/qib: Reduce sdma_lock contention
[deliverable/linux.git] / drivers / infiniband / hw / qib / qib_verbs.h
index 61fad05328ca27719afa958337e316c3700f435c..aff8b2c178869ce31503b7981ed5d7c8df456469 100644 (file)
@@ -727,6 +727,7 @@ struct qib_ibport {
        struct qib_opcode_stats opstats[128];
 };
 
+
 struct qib_ibdev {
        struct ib_device ibdev;
        struct list_head pending_mmaps;
@@ -836,11 +837,7 @@ extern struct workqueue_struct *qib_cq_wq;
 /*
  * This must be called with s_lock held.
  */
-static inline void qib_schedule_send(struct qib_qp *qp)
-{
-       if (qib_send_ok(qp))
-               queue_work(ib_wq, &qp->s_work);
-}
+void qib_schedule_send(struct qib_qp *qp);
 
 static inline int qib_pkey_ok(u16 pkey1, u16 pkey2)
 {
This page took 0.026125 seconds and 5 git commands to generate.