mlx5_core_is_ecpf
if (!mlx5_core_is_ecpf(dev))
if (!mlx5_core_is_ecpf(dev))
max_log_wqe_size_cap = mlx5_core_is_ecpf(mdev) ?
if (mlx5_core_is_ecpf(mdev))
if (!mlx5e_is_uplink_rep(priv) && mlx5_core_is_ecpf(mdev))
if (mlx5_core_is_ecpf(mdev))
if (vport_num || mlx5_core_is_ecpf(esw->dev))
return (mlx5_core_is_ecpf(esw->dev) &&
if (vport || mlx5_core_is_ecpf(dev))
if (!mlx5_core_is_ecpf(dev) || !mlx5_esw_allowed(esw))
if (!mlx5_core_is_ecpf(dev) || !mlx5_esw_allowed(esw))
if (!mlx5_core_is_ecpf(esw->dev)) {
if (!mlx5_core_is_ecpf(esw->dev)) {
if (!mlx5_core_is_ecpf(esw->dev))
if (!mlx5_core_is_ecpf(dev) ||
(!vport_num && mlx5_core_is_ecpf(esw->dev)))
if (vport->vport || mlx5_core_is_ecpf(esw->dev))
if (vport->vport || mlx5_core_is_ecpf(esw->dev))
if (!mlx5_core_is_ecpf(dev) && !mlx5_sf_table_empty(dev)) {
if (mlx5_core_is_ecpf(dev)) {
return mlx5_core_is_ecpf(dev) && mlx5_core_ec_vf_vport_base(dev);
mlx5_core_is_ecpf(dev));
ec_function = mlx5_core_is_ecpf(dev);
ec_function = mlx5_core_is_ecpf(dev);
return mlx5_core_is_ecpf(dev) && !ec_function ?
if (mlx5_core_is_ecpf(dev))
if (!vport && !mlx5_core_is_ecpf(dev))
if (vport || mlx5_core_is_ecpf(dev))