net/dpaa: support interface init for multi-process
authorAkhil Goyal <akhil.goyal@nxp.com>
Tue, 25 Jun 2019 10:40:19 +0000 (16:10 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 7 Jul 2019 21:13:25 +0000 (23:13 +0200)
commitaf2828cfcd127fb91b581a6e24c7433acce01d91
tree4b11bebf966a1af6154fcc3585247de79ba9327f
parentf26a0762d6b564173d1806b12d273bfbe8651b9d
net/dpaa: support interface init for multi-process

The existing code is enabling the Tx queues as per
the number of lcore count, which is causing issue
in case of secondary process running on different number
of cores.
This patch fixes the Tx queues to number of DPAA cores,
which helps in using fixed number of Tx queues across
processes access.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa/dpaa_ethdev.c
drivers/net/dpaa/dpaa_ethdev.h