Lines Matching refs:MLX4_FLAG_SRIOV
119 #define RESET_PERSIST_MASK_FLAGS (MLX4_FLAG_SRIOV)
3274 #define SRIOV_VALID_STATE(flags) (!!((flags) & MLX4_FLAG_SRIOV) ==\
3294 if (dev->flags & MLX4_FLAG_SRIOV) { in mlx4_enable_sriov()
3308 if (!(dev->flags & MLX4_FLAG_SRIOV)) { in mlx4_enable_sriov()
3324 dev_flags |= MLX4_FLAG_SRIOV | in mlx4_enable_sriov()
3458 dev->flags |= MLX4_FLAG_SRIOV; in mlx4_load_one()
3561 if (dev->flags & MLX4_FLAG_SRIOV) { in mlx4_load_one()
3566 dev->flags &= ~MLX4_FLAG_SRIOV; in mlx4_load_one()
3768 if (dev->flags & MLX4_FLAG_SRIOV && !existing_vfs) { in mlx4_load_one()
3770 dev->flags &= ~MLX4_FLAG_SRIOV; in mlx4_load_one()
4191 if (mlx4_is_master(dev) && dev->flags & MLX4_FLAG_SRIOV) { in mlx4_remove_one()
4208 if (dev->flags & MLX4_FLAG_SRIOV && !active_vfs) { in mlx4_remove_one()