kernel/drivers/infiniband/hw/hfi1/sdma_txreq.h
.. .. @@ -61,6 +61,9 @@ 61 61 struct sdma_desc { 62 62 /* private: don't use directly */ 63 63 u64 qw[2]; 64 + void *pinning_ctx;65 + /* Release reference to @pinning_ctx. May be called in interrupt context. Must not sleep. */66 + void (*ctx_put)(void *ctx);64 67 }; 65 68 66 69 /** .. .. @@ -91,6 +94,7 @@ 91 94 #define SDMA_TXREQ_F_URGENT 0x0001 92 95 #define SDMA_TXREQ_F_AHG_COPY 0x0002 93 96 #define SDMA_TXREQ_F_USE_AHG 0x0004 97 +#define SDMA_TXREQ_F_VIP 0x001094 98 95 99 struct sdma_txreq; 96 100 typedef void (*callback_t)(struct sdma_txreq *, int);