MLX5_COREDEV_VF
if (route_mdev->coredev_type != MLX5_COREDEV_VF &&
MLX5_COREDEV_VF : MLX5_COREDEV_PF;
return dev->coredev_type == MLX5_COREDEV_VF;