IB/hfi1: Add SDMA cache eviction algorithm
[deliverable/linux.git] / drivers / staging / rdma / hfi1 / user_sdma.h
index e0d0fe02d557e98b0eed6bc9ce6b3d6d43d9b92b..b9240e351161c9dad40e253c9f045e99b912a858 100644 (file)
@@ -67,6 +67,10 @@ struct hfi1_user_sdma_pkt_q {
        unsigned state;
        wait_queue_head_t wait;
        unsigned long unpinned;
+       struct rb_root sdma_rb_root;
+       u32 n_locked;
+       struct list_head evict;
+       spinlock_t evict_lock; /* protect evict and n_locked */
 };
 
 struct hfi1_user_sdma_comp_q {
This page took 0.024239 seconds and 5 git commands to generate.