Home
last modified time | relevance | path

Searched refs:nr_vring (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/vdpa/ifcvf/
H A Difcvf_main.c46 for (i = 0; i < vf->nr_vring; i++) { in ifcvf_vqs_reused_intr_handler()
77 for (i = 0; i < vf->nr_vring; i++) { in ifcvf_free_per_vq_irq()
142 max_intr = vf->nr_vring + 1; in ifcvf_alloc_vectors()
164 for (i = 0; i < vf->nr_vring; i++) { in ifcvf_request_per_vq_irq()
209 for (i = 0; i < vf->nr_vring; i++) { in ifcvf_request_vqs_reused_irq()
242 for (i = 0; i < vf->nr_vring; i++) { in ifcvf_request_dev_irq()
284 config_vector = vf->nr_vring; in ifcvf_request_config_irq()
327 max_intr = vf->nr_vring + 1; in ifcvf_request_irq()
737 ret = _vdpa_register_device(&adapter->vdpa, vf->nr_vring); in ifcvf_vdpa_dev_add()
812 for (i = 0; i < vf->nr_vring; i++) in ifcvf_probe()
[all …]
H A Difcvf_base.c76 if (qid >= hw->nr_vring) in ifcvf_get_vq_size()
90 for (qid = 1; qid < hw->nr_vring; qid++) { in ifcvf_get_max_vq_size()
166 hw->nr_vring = vp_ioread16(&hw->common_cfg->num_queues); in ifcvf_init_hw()
167 hw->vring = kzalloc(sizeof(struct vring_info) * hw->nr_vring, GFP_KERNEL); in ifcvf_init_hw()
171 for (i = 0; i < hw->nr_vring; i++) { in ifcvf_init_hw()
394 for (qid = 0; qid < hw->nr_vring; qid++) { in ifcvf_reset_vring()
H A Difcvf_base.h86 u16 nr_vring; member
/linux/drivers/vdpa/octeon_ep/
H A Doctep_vdpa_hw.c492 oct_hw->nr_vring = vp_ioread16(&oct_hw->common_cfg->num_queues); in octep_hw_caps_read()
494 oct_hw->vqs = devm_kcalloc(&pdev->dev, oct_hw->nr_vring, sizeof(*oct_hw->vqs), GFP_KERNEL); in octep_hw_caps_read()
501 dev_info(&pdev->dev, "Maximum queues : %u\n", oct_hw->nr_vring); in octep_hw_caps_read()
503 for (i = 0; i < oct_hw->nr_vring; i++) { in octep_hw_caps_read()
H A Doctep_vdpa_main.c52 for (i = 0; i < oct_hw->nr_vring; i++) { in octep_vdpa_intr_handler()
175 for (qid = 0; qid < oct_hw->nr_vring; qid++) { in octep_vdpa_reset()
515 ret = _vdpa_register_device(&oct_vdpa->vdpa, oct_hw->nr_vring); in octep_vdpa_dev_add()
599 mgmt_dev->mdev.max_supported_vqs = oct_hw->nr_vring; in octep_vdpa_setup_task()
H A Doctep_vdpa.h69 u16 nr_vring; member