bus/dpaa: fix logical to physical core affine logic
authorHemant Agrawal <hemant.agrawal@nxp.com>
Wed, 26 Dec 2018 11:33:47 +0000 (11:33 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:29 +0000 (17:44 +0100)
commitafb2f8fd5a0fb82d38c51d6e100cc14220b7db7b
tree99af2eae235cf1a059c78b8da1bc60ecb5ab5543
parent04018a4552e630a2c019bade0c6b5f822aded0c1
bus/dpaa: fix logical to physical core affine logic

The code was treating the lcore id as physical core id.
The code is updated to use actual physical core value
for any core affinity logic.

Note that DPAA devices are single cluster systems.

Fixes: 5d944582d028 ("bus/dpaa: check portal presence in the caller function")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/dpaa/dpaa_bus.c