net/mlx5: replace Linux specific calls
authorOphir Munk <ophirmu@mellanox.com>
Sun, 19 Jul 2020 10:18:10 +0000 (10:18 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 13:46:30 +0000 (15:46 +0200)
commit2aba9fc7253454fa12edb6b38feeb8b07b9f2fe3
tree79d3cee406d9229ab652e9608e553a1ee7c512d5
parent3eca5f8a610eb29365d251b02b7e70461bbcba42
net/mlx5: replace Linux specific calls

The following Linux calls are replaced by their matching rte APIs.

mmap ==> rte_mem_map()
munmap == >rte_mem_unmap()
sysconf(_SC_PAGESIZE) ==> rte_mem_page_size()

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_prm.h
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/linux/mlx5_verbs.c
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_txpp.c
drivers/net/mlx5/mlx5_txq.c