mlx5_eswitch_is_vf_vport
return mlx5_eswitch_is_vf_vport(esw, vport_num) || mlx5_esw_is_sf_vport(esw, vport_num);
mlx5_eswitch_is_vf_vport(esw, vport->vport));
mlx5_eswitch_is_vf_vport(esw, vport_num) ||
} else if (mlx5_eswitch_is_vf_vport(esw, vport_num)) {
vf_sf_vport = mlx5_eswitch_is_vf_vport(esw, vport_num) ||
mlx5_eswitch_is_vf_vport(esw, vport_num);
bool mlx5_eswitch_is_vf_vport(struct mlx5_eswitch *esw, u16 vport_num);