1 From 9b4ae951eeabc09fda80e446434ef8f03849522e Mon Sep 17 00:00:00 2001
2 From: Roy Pledge <roy.pledge@nxp.com>
3 Date: Fri, 22 Jun 2018 15:47:07 -0400
4 Subject: [PATCH] staging/fsl_qbman: Consume all frames in DQRR during init
6 The qm_dqrr_cdc_consume_n() function takes a bitmask, not an index.
8 Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
10 drivers/staging/fsl_qbman/qman_low.h | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
13 --- a/drivers/staging/fsl_qbman/qman_low.h
14 +++ b/drivers/staging/fsl_qbman/qman_low.h
15 @@ -658,7 +658,7 @@ static inline int qm_dqrr_init(struct qm
16 qm_dqrr_cce_consume(portal, dqrr->fill);
19 - qm_dqrr_cdc_consume_n(portal, (QM_DQRR_SIZE - 1));
20 + qm_dqrr_cdc_consume_n(portal, (1<<QM_DQRR_SIZE) - 1);