net/mlx5: add Linux-specific file with getter functions