Home
last modified time | relevance | path

Searched refs:avail_index (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/vdpa/pds/
Dcmds.c140 .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()
Dvdpa_dev.c202 avail = state->split.avail_index; in pds_vdpa_set_vq_state()
249 state->split.avail_index = avail; in pds_vdpa_get_vq_state()
/linux-6.6.21/include/uapi/linux/
Dvduse.h142 __u16 avail_index; member
/linux-6.6.21/include/linux/pds/
Dpds_adminq.h753 __le16 avail_index; member
799 __le16 avail_index; member
/linux-6.6.21/drivers/vdpa/vdpa_user/
Dvduse_dev.c290 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()
/linux-6.6.21/include/linux/
Dvdpa.h43 u16 avail_index; member
/linux-6.6.21/drivers/vdpa/ifcvf/
Difcvf_main.c464 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()
/linux-6.6.21/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c84 u16 avail_index; member
2235 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()
/linux-6.6.21/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c364 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()
/linux-6.6.21/drivers/vdpa/alibaba/
Deni_vdpa.c274 && split->avail_index == 0) in eni_vdpa_set_vq_state()
/linux-6.6.21/drivers/vdpa/virtio_pci/
Dvp_vdpa.c259 if (split->avail_index == 0) in vp_vdpa_set_vq_state_split()
/linux-6.6.21/drivers/vhost/
Dvdpa.c627 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()
/linux-6.6.21/drivers/vdpa/solidrun/
Dsnet_main.c160 if (s->avail_index == 0) in snet_vq_state_is_initial()