Searched refs:mlx5_core_is_ecpf (Results 1 – 5 of 5) sorted by relevance
75 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_init()85 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_cleanup()
185 MLX5_SET(query_pages_in, in, embedded_cpu_function, mlx5_core_is_ecpf(dev)); in mlx5_cmd_query_pages()389 else if (mlx5_core_is_ecpf(dev) && !ec_function) in give_pages()434 else if (mlx5_core_is_ecpf(dev) && !ec_function) in release_all_pages()555 else if (mlx5_core_is_ecpf(dev) && !ec_function) in reclaim_pages()641 return give_pages(dev, func_id, npages, 0, mlx5_core_is_ecpf(dev)); in mlx5_satisfy_startup_pages()672 &nclaimed, false, mlx5_core_is_ecpf(dev)); in mlx5_reclaim_root_pages()
850 (!vport_num && mlx5_core_is_ecpf(esw->dev))) in mlx5_esw_vport_enable()863 if (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) in mlx5_esw_vport_enable()1056 if (!mlx5_core_is_ecpf(dev)) in host_pf_enable_hca()1068 if (!mlx5_core_is_ecpf(dev)) in host_pf_disable_hca()1406 if (!mlx5_core_is_ecpf(dev)) { in mlx5_esw_sf_max_hpf_functions()
20 (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) || in mlx5_esw_devlink_port_supported()
1203 static inline bool mlx5_core_is_ecpf(const struct mlx5_core_dev *dev) in mlx5_core_is_ecpf() function