Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Decpf.c46 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_init()
57 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_cleanup()
Dpagealloc.c185 MLX5_SET(query_pages_in, in, embedded_cpu_function, mlx5_core_is_ecpf(dev)); in mlx5_cmd_query_pages()
376 else if (mlx5_core_is_ecpf(dev) && !ec_function) in give_pages()
418 else if (mlx5_core_is_ecpf(dev) && !ec_function) in release_all_pages()
525 else if (mlx5_core_is_ecpf(dev) && !ec_function) in reclaim_pages()
611 return give_pages(dev, func_id, npages, 0, mlx5_core_is_ecpf(dev)); in mlx5_satisfy_startup_pages()
641 &nclaimed, mlx5_core_is_ecpf(dev)); in mlx5_reclaim_root_pages()
Deswitch.c1301 (!vport_num && mlx5_core_is_ecpf(esw->dev))) in esw_enable_vport()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c21 (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) || in mlx5_esw_devlink_port_supported()
/Linux-v5.10/include/linux/mlx5/
Ddriver.h1140 static inline bool mlx5_core_is_ecpf(struct mlx5_core_dev *dev) in mlx5_core_is_ecpf() function