staging/fsl_qbman: Consume all frames in DQRR during init
The qm_dqrr_cdc_consume_n() function takes a bitmask, not an index. Signed-off-by: Roy Pledge <roy.pledge@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
2f66e3553f
commit
f323a2bf13
|
@ -658,7 +658,7 @@ static inline int qm_dqrr_init(struct qm_portal *portal,
|
|||
qm_dqrr_cce_consume(portal, dqrr->fill);
|
||||
break;
|
||||
case qm_dqrr_cdc:
|
||||
qm_dqrr_cdc_consume_n(portal, (QM_DQRR_SIZE - 1));
|
||||
qm_dqrr_cdc_consume_n(portal, (1<<QM_DQRR_SIZE) - 1);
|
||||
break;
|
||||
default:
|
||||
DPA_ASSERT(0);
|
||||
|
|
Loading…
Reference in New Issue