numam-dpdk/drivers/net/dpaa2
Shreyansh Jain 85ee5dda6b net/dpaa2: change reference to private device
The I/O threads for DPAA2 take their reference for bpool ID, the
port ID and other info like qdid, from the rte_eth_dev. Further,
to get this data during I/O operation, a reference of the RTE
device is kept in the queue structure (dpaa2_queue).

In case of secondary processes, rte_eth_dev is not same as the
primary process. Thus, the reference goes invalid.

This patch changes the implementation to use the dev_private
rather than the rte_eth_dev as that is shared area across
all the processes.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
2019-01-14 17:44:29 +01:00
..
base net/dpaa2: support custom hash key 2019-01-14 17:44:29 +01:00
mc net/dpaa2: add dpdmux mc flib 2019-01-14 17:44:29 +01:00
dpaa2_ethdev.c net/dpaa2: change reference to private device 2019-01-14 17:44:29 +01:00
dpaa2_ethdev.h net/dpaa2: add dpdmux initialization and configuration 2019-01-14 17:44:29 +01:00
dpaa2_mux.c net/dpaa2: add dpdmux initialization and configuration 2019-01-14 17:44:29 +01:00
dpaa2_pmd_logs.h drivers: support function name in NXP logs 2018-07-12 14:41:28 +02:00
dpaa2_rxtx.c net/dpaa2: change reference to private device 2019-01-14 17:44:29 +01:00
Makefile net/dpaa2: add dpdmux initialization and configuration 2019-01-14 17:44:29 +01:00
meson.build net/dpaa2: add dpdmux initialization and configuration 2019-01-14 17:44:29 +01:00
rte_pmd_dpaa2_version.map net/dpaa2: support custom hash key 2019-01-14 17:44:29 +01:00
rte_pmd_dpaa2.h net/dpaa2: support custom hash key 2019-01-14 17:44:29 +01:00