summaryrefslogtreecommitdiff
path: root/drivers/crypto/fsl/jr.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/fsl/jr.h')
-rw-r--r--drivers/crypto/fsl/jr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/crypto/fsl/jr.h b/drivers/crypto/fsl/jr.h
index 8d5ca03e501..b136cd8d05a 100644
--- a/drivers/crypto/fsl/jr.h
+++ b/drivers/crypto/fsl/jr.h
@@ -83,6 +83,10 @@ struct jobring {
* in-order job completion
*/
int tail;
+ /* Read index of the output ring. It may not match with tail in case
+ * of out of order completetion
+ */
+ int read_idx;
/* Write index to input ring. Would be always equal to head */
int write_idx;
/* Size of the rings. */