diff options
author | Madalin Bucur <madalin.bucur@nxp.com> | 2017-02-14 17:17:28 +0200 |
---|---|---|
committer | Madalin Bucur <madalin.bucur@nxp.com> | 2017-03-09 08:54:06 +0200 |
commit | 7fe1e290bfca75061d77ad2a67b12c23d6d35e7b (patch) | |
tree | 46c41e1bd2aad0d6cdccd33a85ab14960b206459 | |
parent | 2ea08f8261b1469c728204aaacfca1d046eb0bff (diff) | |
download | linux-7fe1e290bfca75061d77ad2a67b12c23d6d35e7b.tar.bz2 |
dpaa_eth: enable context-A stashing
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
-rw-r--r-- | drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c index 1b3ea38d014f..aa769cbc7425 100644 --- a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +++ b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c @@ -1052,7 +1052,8 @@ static int dpaa_fq_init(struct dpaa_fq *dpaa_fq, bool td_enable) /* Initialization common to all ingress queues */ if (dpaa_fq->flags & QMAN_FQ_FLAG_NO_ENQUEUE) { initfq.we_mask |= cpu_to_be16(QM_INITFQ_WE_CONTEXTA); - initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_HOLDACTIVE); + initfq.fqd.fq_ctrl |= cpu_to_be16(QM_FQCTRL_HOLDACTIVE | + QM_FQCTRL_CTXASTASHING); initfq.fqd.context_a.stashing.exclusive = QM_STASHING_EXCL_DATA | QM_STASHING_EXCL_CTX | QM_STASHING_EXCL_ANNOTATION; |