Wednesday, April 10, 2019 9:41 PM, Yongseok Koh: > Subject: [dpdk-dev] [PATCH v5 0/4] net/mlx: remove device register remap > > This patchset lifts the requirement of reserving huge virtual address space > and remapping device UAR register on to it in order to use the same address > between primary and secondary process. >
Applied to next-net-mlx and replaced with the previos v4. Sorry for that. Thanks. > v5: > * fix 32-bit build issue > * remove MLX[4|5]_UAR_SIZE and MLX[4|5]_UAR_OFFSET > > v4: > * add mlx4_proc_priv_[init|uninit]() to avoid duplicate code > * remove the number of Rx queues from the ppriv size calculation > * move freeing ppriv to mlx4_dev_close() from mlx4_dev_stop() > * rebase on top of "net/mlx4: fix Tx doorbell register unmap" [1] > > v3: > * move UAR table to per-process storage > > v2: > * rebase on the latest branch tip > * fix a bug > > [1] > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch > es.dpdk.org%2Fpatch%2F52435%2F&data=02%7C01%7Cshahafs%40mel > lanox.com%7C8399415a5e5540a23b8608d6bde424e5%7Ca652971c7d2e4d9ba > 6a4d149256f461b%7C0%7C0%7C636905184909290125&sdata=tyL7dnToo > KnkgSQzoFIhpSsBVcVevMbBHcZ%2BeWlXLiA%3D&reserved=0 > > Yongseok Koh (4): > net/mlx5: fix recursive inclusion of header file > net/mlx5: remove redundant queue index > net/mlx5: remove device register remap > net/mlx4: remove device register remap > > drivers/net/mlx4/mlx4.c | 255 > +++++++++---------------------------- > drivers/net/mlx4/mlx4.h | 25 ++-- > drivers/net/mlx4/mlx4_prm.h | 3 +- > drivers/net/mlx4/mlx4_rxtx.c | 2 +- > drivers/net/mlx4/mlx4_rxtx.h | 6 +- > drivers/net/mlx4/mlx4_txq.c | 170 +++++++++++++++---------- > drivers/net/mlx5/mlx5.c | 228 ++++++++------------------------- > drivers/net/mlx5/mlx5.h | 17 ++- > drivers/net/mlx5/mlx5_defs.h | 10 -- > drivers/net/mlx5/mlx5_ethdev.c | 3 + > drivers/net/mlx5/mlx5_flow.c | 5 +- > drivers/net/mlx5/mlx5_flow_dv.c | 4 +- > drivers/net/mlx5/mlx5_flow_verbs.c | 5 +- > drivers/net/mlx5/mlx5_rxq.c | 29 ++--- > drivers/net/mlx5/mlx5_rxtx.h | 21 +-- > drivers/net/mlx5/mlx5_stats.c | 15 +-- > drivers/net/mlx5/mlx5_trigger.c | 8 +- > drivers/net/mlx5/mlx5_txq.c | 200 +++++++++++++++++------------ > drivers/net/mlx5/mlx5_vlan.c | 3 +- > 19 files changed, 414 insertions(+), 595 deletions(-) > > -- > 2.11.0