diff options
author | Cristian Sovaiala <cristian.sovaiala@freescale.com> | 2013-10-10 15:45:53 (GMT) |
---|---|---|
committer | J. German Rivera <German.Rivera@freescale.com> | 2013-10-29 20:43:14 (GMT) |
commit | 289b323d8c8b9fea1a6f42993ccc40e8ab92c6d3 (patch) | |
tree | 318f1ffbcdaa95f124a974ed2766d406ddff69eb /drivers/net/ethernet/freescale/dpa | |
parent | b095c5c2577aeedce2db847fa117596628d4e7cb (diff) | |
download | linux-fsl-qoriq-289b323d8c8b9fea1a6f42993ccc40e8ab92c6d3.tar.xz |
Revert "dpaa_eth: Add pool channel in each affined portal's SDQCR"
This reverts commit 26d7e96258429d498f6fc7e3d2bb32b8f4c01097 which was
cherry-picked out of order.
Diffstat (limited to 'drivers/net/ethernet/freescale/dpa')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c index c599052..d4ded36 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c @@ -934,11 +934,10 @@ int dpaa_eth_add_channel(void *__arg) const cpumask_t *cpus = qman_affine_cpus(); u32 pool = QM_SDQCR_CHANNELS_POOL_CONV((u32)(unsigned long)__arg); int cpu; - struct qman_portal *portal; for_each_cpu(cpu, cpus) { - portal = (struct qman_portal *)qman_get_affine_portal(cpu); - qman_p_static_dequeue_add(portal, pool); + set_cpus_allowed_ptr(current, get_cpu_mask(cpu)); + qman_static_dequeue_add(pool); } return 0; } |