Searched refs:avail_index (Results 1 – 13 of 13) sorted by relevance
140 .vdpa_vq_init.avail_index = cpu_to_le16(vq_info->avail_idx ^ invert_idx), in pds_vdpa_cmd_init_vq()181 vq_info->avail_idx = le16_to_cpu(comp.vdpa_vq_reset.avail_index) ^ invert_idx; in pds_vdpa_cmd_reset_vq()
202 avail = state->split.avail_index; in pds_vdpa_set_vq_state()249 state->split.avail_index = avail; in pds_vdpa_get_vq_state()
142 __u16 avail_index; member
753 __le16 avail_index; member799 __le16 avail_index; member
290 split->avail_index = msg.resp.vq_state.split.avail_index; in vduse_dev_get_vq_state_split()576 vq->state.split.avail_index = state->split.avail_index; in vduse_vdpa_set_vq_state()1249 vq_info.split.avail_index = in vduse_dev_ioctl()1250 vq->state.split.avail_index; in vduse_dev_ioctl()
43 u16 avail_index; member
464 state->split.avail_index = ifcvf_get_vq_state(vf, qid); in ifcvf_vdpa_get_vq_state()473 return ifcvf_set_vq_state(vf, qid, state->split.avail_index); in ifcvf_vdpa_set_vq_state()
84 u16 avail_index; member2235 mvdev->cvq.vring.last_avail_idx = state->split.avail_index; in mlx5_vdpa_set_vq_state()2245 mvq->used_idx = state->split.avail_index; in mlx5_vdpa_set_vq_state()2246 mvq->avail_idx = state->split.avail_index; in mlx5_vdpa_set_vq_state()2262 state->split.avail_index = mvdev->cvq.vring.last_avail_idx; in mlx5_vdpa_get_vq_state()2276 state->split.avail_index = mvq->used_idx; in mlx5_vdpa_get_vq_state()2285 state->split.avail_index = attr.used_index; in mlx5_vdpa_get_vq_state()2619 ri->avail_index = attr.available_index; in save_channel_info()2664 mvq->avail_idx = ri->avail_index; in restore_channels_info()
364 vrh->last_avail_idx = state->split.avail_index; in vdpasim_set_vq_state()377 state->split.avail_index = vrh->last_avail_idx; in vdpasim_get_vq_state()
274 && split->avail_index == 0) in eni_vdpa_set_vq_state()
259 if (split->avail_index == 0) in vp_vdpa_set_vq_state_split()
627 vq->last_avail_idx = vq_state.split.avail_index; in vhost_vdpa_vring_ioctl()652 vq_state.split.avail_index = vq->last_avail_idx; in vhost_vdpa_vring_ioctl()
160 if (s->avail_index == 0) in snet_vq_state_is_initial()