numam-dpdk/drivers/net/mlx4
Yongseok Koh 97d37d2c1f net/mlx4: remove device register remap
UAR (User Access Region) register does not need to be remapped for
primary process but it should be remapped only for secondary process.
UAR register table is in the process private structure in
rte_eth_devices[],
(struct mlx4_proc_priv *)rte_eth_devices[port_id].process_private

The actual UAR table follows the data structure and the table is used
for both Tx and Rx.

For Tx, BlueFlame in UAR is used to ring the doorbell.
MLX4_TX_BFREG(txq) is defined to get a register for the txq. Processes
access its own private data to acquire the register from the UAR table.

For Rx, the doorbell in UAR is required in arming CQ event. However, it
is a known issue that the register isn't remapped for secondary process.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
2019-04-12 11:02:02 +02:00
..
Makefile net/mlx4: support secondary process 2019-04-05 17:45:22 +02:00
meson.build net/mlx4: support secondary process 2019-04-05 17:45:22 +02:00
mlx4_ethdev.c net/mlx: prefix private structure 2019-03-01 18:17:35 +01:00
mlx4_flow.c net/mlx4: change device reference for secondary process 2019-04-05 17:45:22 +02:00
mlx4_flow.h net/mlx: prefix private structure 2019-03-01 18:17:35 +01:00
mlx4_glue.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_glue.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_intr.c net/mlx4: change device reference for secondary process 2019-04-05 17:45:22 +02:00
mlx4_mp.c net/mlx4: enable secondary process to register DMA memory 2019-04-05 17:45:22 +02:00
mlx4_mr.c net/mlx4: enable secondary process to register DMA memory 2019-04-05 17:45:22 +02:00
mlx4_mr.h net/mlx4: enable secondary process to register DMA memory 2019-04-05 17:45:22 +02:00
mlx4_prm.h net/mlx4: remove device register remap 2019-04-12 11:02:02 +02:00
mlx4_rxq.c net/mlx4: add external allocator for Verbs object 2019-04-05 17:45:22 +02:00
mlx4_rxtx.c net/mlx4: remove device register remap 2019-04-12 11:02:02 +02:00
mlx4_rxtx.h net/mlx4: remove device register remap 2019-04-12 11:02:02 +02:00
mlx4_txq.c net/mlx4: remove device register remap 2019-04-12 11:02:02 +02:00
mlx4_utils.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4_utils.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx4.c net/mlx4: remove device register remap 2019-04-12 11:02:02 +02:00
mlx4.h net/mlx4: remove device register remap 2019-04-12 11:02:02 +02:00
rte_pmd_mlx4_version.map mlx4: move to drivers/net/ 2015-05-22 16:06:22 +02:00