hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/infiniband/hw/hfi1/sdma_txreq.h
....@@ -61,6 +61,9 @@
6161 struct sdma_desc {
6262 /* private: don't use directly */
6363 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);
6467 };
6568
6669 /**
....@@ -91,6 +94,7 @@
9194 #define SDMA_TXREQ_F_URGENT 0x0001
9295 #define SDMA_TXREQ_F_AHG_COPY 0x0002
9396 #define SDMA_TXREQ_F_USE_AHG 0x0004
97
+#define SDMA_TXREQ_F_VIP 0x0010
9498
9599 struct sdma_txreq;
96100 typedef void (*callback_t)(struct sdma_txreq *, int);