dmaengine: add fence support
[sfrench/cifs-2.6.git] / include / linux / async_tx.h
index 866e61c4e2e0781489d3b9187549fc19d4a1f312..a1c486a88e8856bc572f1c481764833d0987fa16 100644 (file)
@@ -58,11 +58,14 @@ struct dma_chan_ref {
  * array.
  * @ASYNC_TX_ACK: immediately ack the descriptor, precludes setting up a
  * dependency chain
+ * @ASYNC_TX_FENCE: specify that the next operation in the dependency
+ * chain uses this operation's result as an input
  */
 enum async_tx_flags {
        ASYNC_TX_XOR_ZERO_DST    = (1 << 0),
        ASYNC_TX_XOR_DROP_DST    = (1 << 1),
        ASYNC_TX_ACK             = (1 << 2),
+       ASYNC_TX_FENCE           = (1 << 3),
 };
 
 /**