Lines Matching refs:qid
245 static int ifcvf_vdpa_get_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
250 state->avail_index = ifcvf_get_vq_state(vf, qid);
254 static int ifcvf_vdpa_set_vq_state(struct vdpa_device *vdpa_dev, u16 qid,
259 return ifcvf_set_vq_state(vf, qid, state->avail_index);
262 static void ifcvf_vdpa_set_vq_cb(struct vdpa_device *vdpa_dev, u16 qid,
267 vf->vring[qid].cb = *cb;
271 u16 qid, bool ready)
275 vf->vring[qid].ready = ready;
278 static bool ifcvf_vdpa_get_vq_ready(struct vdpa_device *vdpa_dev, u16 qid)
282 return vf->vring[qid].ready;
285 static void ifcvf_vdpa_set_vq_num(struct vdpa_device *vdpa_dev, u16 qid,
290 vf->vring[qid].size = num;
293 static int ifcvf_vdpa_set_vq_address(struct vdpa_device *vdpa_dev, u16 qid,
299 vf->vring[qid].desc = desc_area;
300 vf->vring[qid].avail = driver_area;
301 vf->vring[qid].used = device_area;
306 static void ifcvf_vdpa_kick_vq(struct vdpa_device *vdpa_dev, u16 qid)
310 ifcvf_notify_queue(vf, qid);
365 u16 qid)
369 return vf->vring[qid].irq;