Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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.c190 MLX5_SET(query_pages_in, in, embedded_cpu_function, mlx5_core_is_ecpf(dev)); in mlx5_cmd_query_pages()
383 else if (mlx5_core_is_ecpf(dev) && !ec_function) in give_pages()
426 else if (mlx5_core_is_ecpf(dev) && !ec_function) in release_all_pages()
536 else if (mlx5_core_is_ecpf(dev) && !ec_function) in reclaim_pages()
622 return give_pages(dev, func_id, npages, 0, mlx5_core_is_ecpf(dev)); in mlx5_satisfy_startup_pages()
652 &nclaimed, mlx5_core_is_ecpf(dev)); in mlx5_reclaim_root_pages()
Deswitch.c1302 (!vport_num && mlx5_core_is_ecpf(esw->dev))) in esw_enable_vport()
1308 if (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) in esw_enable_vport()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h1143 static inline bool mlx5_core_is_ecpf(struct mlx5_core_dev *dev) in mlx5_core_is_ecpf() function