IB/qib: Optimize pio ack buffer allocation
[deliverable/linux.git] / drivers / infiniband / hw / qib / qib.h
index 6b811e3e8bd165c2d4af4f47a58d52496e682f0c..2d638877c4af617b97bc4325a309bf60340fae18 100644 (file)
@@ -873,7 +873,14 @@ struct qib_devdata {
         * pio_writing.
         */
        spinlock_t pioavail_lock;
-
+       /*
+        * index of last buffer to optimize search for next
+        */
+       u32 last_pio;
+       /*
+        * min kernel pio buffer to optimize search
+        */
+       u32 min_kernel_pio;
        /*
         * Shadow copies of registers; size indicates read access size.
         * Most of them are readonly, but some are write-only register,
This page took 0.04123 seconds and 5 git commands to generate.