Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Decpf.c46 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_init()
57 if (!mlx5_core_is_ecpf(dev)) in mlx5_ec_cleanup()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Ddevlink_port.c21 (mlx5_core_is_ecpf(esw->dev) && vport_num == MLX5_VPORT_PF) || in mlx5_esw_devlink_port_supported()
/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A Ddriver.h1139 static inline bool mlx5_core_is_ecpf(struct mlx5_core_dev *dev) in mlx5_core_is_ecpf() function