Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/include/uapi/linux/
Dvduse.h142 __u16 avail_index; member
/linux-6.12.1/include/linux/pds/
Dpds_adminq.h753 __le16 avail_index; member
799 __le16 avail_index; member
/linux-6.12.1/drivers/vdpa/vdpa_user/
Dvduse_dev.c292 split->avail_index = msg.resp.vq_state.split.avail_index; in vduse_dev_get_vq_state_split()
589 vq->state.split.avail_index = state->split.avail_index; in vduse_vdpa_set_vq_state()
1285 vq_info.split.avail_index = in vduse_dev_ioctl()
1286 vq->state.split.avail_index; in vduse_dev_ioctl()
/linux-6.12.1/drivers/vdpa/ifcvf/
Difcvf_main.c469 state->split.avail_index = ifcvf_get_vq_state(vf, qid); in ifcvf_vdpa_get_vq_state()
478 return ifcvf_set_vq_state(vf, qid, state->split.avail_index); in ifcvf_vdpa_set_vq_state()
/linux-6.12.1/include/linux/
Dvdpa.h44 u16 avail_index; member
/linux-6.12.1/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c381 vrh->last_avail_idx = state->split.avail_index; in vdpasim_set_vq_state()
394 state->split.avail_index = vrh->last_avail_idx; in vdpasim_get_vq_state()
/linux-6.12.1/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c97 u16 avail_index; member
2582 mvdev->cvq.vring.last_avail_idx = state->split.avail_index; in mlx5_vdpa_set_vq_state()
2592 mvq->used_idx = state->split.avail_index; in mlx5_vdpa_set_vq_state()
2593 mvq->avail_idx = state->split.avail_index; in mlx5_vdpa_set_vq_state()
2611 state->split.avail_index = mvdev->cvq.vring.last_avail_idx; in mlx5_vdpa_get_vq_state()
2625 state->split.avail_index = mvq->used_idx; in mlx5_vdpa_get_vq_state()
2634 state->split.avail_index = attr.used_index; in mlx5_vdpa_get_vq_state()
2988 ri->avail_index = attr.available_index; in save_channel_info()
3033 mvq->avail_idx = ri->avail_index; in restore_channels_info()
/linux-6.12.1/drivers/vdpa/alibaba/
Deni_vdpa.c281 && split->avail_index == 0) in eni_vdpa_set_vq_state()
/linux-6.12.1/drivers/vdpa/virtio_pci/
Dvp_vdpa.c272 if (split->avail_index == 0) in vp_vdpa_set_vq_state_split()
/linux-6.12.1/drivers/vhost/
Dvdpa.c707 vq->last_avail_idx = vq_state.split.avail_index; in vhost_vdpa_vring_ioctl()
746 vq_state.split.avail_index = vq->last_avail_idx; in vhost_vdpa_vring_ioctl()
/linux-6.12.1/drivers/vdpa/solidrun/
Dsnet_main.c160 if (s->avail_index == 0) in snet_vq_state_is_initial()