Re: [dpdk-dev] [PATCH v1 7/8] common/mlx5: exclude OS dependency in devx commands

2020-06-18 Thread Thomas Monjalon
+Cc Ferruh for info 19/06/2020 00:47, Thomas Monjalon: > 10/06/2020 11:32, Ophir Munk: > > Shared function mlx5_devx_cmd_mkey_create() reads the OS pagesize by > > calling a Linux API: 'sysconf(_SC_PAGESIZE)'. Wrap this call with a > > shared API 'mlx5_os_get_page_size()' which contains the specif

Re: [dpdk-dev] [PATCH v1 7/8] common/mlx5: exclude OS dependency in devx commands

2020-06-18 Thread Thomas Monjalon
10/06/2020 11:32, Ophir Munk: > Shared function mlx5_devx_cmd_mkey_create() reads the OS pagesize by > calling a Linux API: 'sysconf(_SC_PAGESIZE)'. Wrap this call with a > shared API 'mlx5_os_get_page_size()' which contains the specific OS > implementation. > > Signed-off-by: Ophir Munk Sorry,

[dpdk-dev] [PATCH v1 7/8] common/mlx5: exclude OS dependency in devx commands

2020-06-10 Thread Ophir Munk
Shared function mlx5_devx_cmd_mkey_create() reads the OS pagesize by calling a Linux API: 'sysconf(_SC_PAGESIZE)'. Wrap this call with a shared API 'mlx5_os_get_page_size()' which contains the specific OS implementation. Signed-off-by: Ophir Munk --- drivers/common/mlx5/linux/mlx5_common_os.c |