Home
last modified time | relevance | path

Searched refs:mlx5_core_is_ecpf (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Decpf.c75 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_init()
85 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_cleanup()
Dpagealloc.c190 MLX5_SET(query_pages_in, in, embedded_cpu_function, mlx5_core_is_ecpf(dev)); in mlx5_cmd_query_pages()
382 else if (mlx5_core_is_ecpf(dev) && !ec_function) in give_pages()
425 else if (mlx5_core_is_ecpf(dev) && !ec_function) in release_all_pages()
535 else if (mlx5_core_is_ecpf(dev) && !ec_function) in reclaim_pages()
621 return give_pages(dev, func_id, npages, 0, mlx5_core_is_ecpf(dev)); in mlx5_satisfy_startup_pages()
651 &nclaimed, mlx5_core_is_ecpf(dev)); in mlx5_reclaim_root_pages()
Deswitch.c853 (!vport_num && mlx5_core_is_ecpf(esw->dev))) in mlx5_esw_vport_enable()
866 if (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) in mlx5_esw_vport_enable()
1059 if (!mlx5_core_is_ecpf(dev)) in host_pf_enable_hca()
1071 if (!mlx5_core_is_ecpf(dev)) in host_pf_disable_hca()
1402 if (!mlx5_core_is_ecpf(dev)) { in mlx5_esw_sf_max_hpf_functions()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c20 (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) || in mlx5_esw_devlink_port_supported()
/Linux-v5.15/include/linux/mlx5/
Ddriver.h1184 static inline bool mlx5_core_is_ecpf(const struct mlx5_core_dev *dev) in mlx5_core_is_ecpf() function