Skip to content

Commit 7fe1e29

Browse files
committed
dpaa_eth: enable context-A stashing
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
1 parent 2ea08f8 commit 7fe1e29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,8 @@ static int dpaa_fq_init(struct dpaa_fq *dpaa_fq, bool td_enable)
10521052
/* Initialization common to all ingress queues */
10531053
if (dpaa_fq->flags & QMAN_FQ_FLAG_NO_ENQUEUE) {
10541054
initfq.we_mask |= cpu_to_be16(QM_INITFQ_WE_CONTEXTA);
1055-
initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_HOLDACTIVE);
1055+
initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_HOLDACTIVE |
1056+
QM_FQCTRL_CTXASTASHING);
10561057
initfq.fqd.context_a.stashing.exclusive =
10571058
QM_STASHING_EXCL_DATA | QM_STASHING_EXCL_CTX |
10581059
QM_STASHING_EXCL_ANNOTATION;

0 commit comments

Comments
 (0)