s390/qdio: remove internal polling in non-thinint path
[linux-2.6-microblaze.git] / drivers / s390 / cio / qdio.h
index eb13c47..cd2df4f 100644 (file)
@@ -15,7 +15,6 @@
 #define QDIO_BUSY_BIT_PATIENCE         (100 << 12)     /* 100 microseconds */
 #define QDIO_BUSY_BIT_RETRY_DELAY      10              /* 10 milliseconds */
 #define QDIO_BUSY_BIT_RETRIES          1000            /* = 10s retry time */
-#define QDIO_INPUT_THRESHOLD           (500 << 12)     /* 500 microseconds */
 
 enum qdio_irq_states {
        QDIO_IRQ_STATE_INACTIVE,
@@ -166,11 +165,7 @@ struct qdio_dev_perf_stat {
 } ____cacheline_aligned;
 
 struct qdio_queue_perf_stat {
-       /*
-        * Sorted into order-2 buckets: 1, 2-3, 4-7, ... 64-127, 128.
-        * Since max. 127 SBALs are scanned reuse entry for 128 as queue full
-        * aka 127 SBALs found.
-        */
+       /* Sorted into order-2 buckets: 1, 2-3, 4-7, ... 64-127, 128. */
        unsigned int nr_sbals[8];
        unsigned int nr_sbal_error;
        unsigned int nr_sbal_nop;
@@ -182,12 +177,9 @@ enum qdio_irq_poll_states {
 };
 
 struct qdio_input_q {
-       /* first ACK'ed buffer */
-       int ack_start;
-       /* how many SBALs are acknowledged */
-       int ack_count;
-       /* last time of noticing incoming data */
-       u64 timestamp;
+       /* Batch of SBALs that we processed while polling the queue: */
+       unsigned int batch_start;
+       unsigned int batch_count;
 };
 
 struct qdio_output_q {