mlx5_core_is_ecpf
if (!mlx5_core_is_ecpf(dev))
if (!mlx5_core_is_ecpf(dev))
max_log_wqe_size_cap = mlx5_core_is_ecpf(mdev) ?
if (!mlx5e_is_uplink_rep(priv) && mlx5_core_is_ecpf(mdev))
if (mlx5_core_is_ecpf(mdev))
if (vport_num || mlx5_core_is_ecpf(esw->dev))
return (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) ||
if (!mlx5_core_is_ecpf(dev) || !mlx5_esw_allowed(esw))
if (vport || mlx5_core_is_ecpf(dev))
if (!mlx5_core_is_ecpf(dev) || !mlx5_esw_allowed(esw))
if (!mlx5_core_is_ecpf(esw->dev)) {
if (!mlx5_core_is_ecpf(esw->dev)) {
if (!mlx5_core_is_ecpf(esw->dev))
if (!mlx5_core_is_ecpf(dev) ||
(!vport_num && mlx5_core_is_ecpf(esw->dev)))
if (vport->vport || mlx5_core_is_ecpf(esw->dev))
if (!mlx5_core_is_ecpf(dev) && !mlx5_sf_table_empty(dev)) {
if (mlx5_core_is_ecpf(dev)) {
if (mlx5_core_is_ecpf(dev))
return mlx5_core_is_ecpf(dev) && mlx5_core_ec_vf_vport_base(dev);
MLX5_SET(query_pages_in, in, embedded_cpu_function, mlx5_core_is_ecpf(dev));
return give_pages(dev, func_id, npages, 0, mlx5_core_is_ecpf(dev));
return mlx5_core_is_ecpf(dev) && !ec_function ? MLX5_HOST_PF : MLX5_PF;
if (mlx5_core_is_ecpf(dev))
if (vport || mlx5_core_is_ecpf(dev))