net/mlx5: extend device attributes getter