Home
last modified time | relevance | path

Searched refs:vfio_dev_fd (Results 1 – 18 of 18) sorted by relevance

/f-stack/dpdk/drivers/bus/pci/linux/
H A Dpci_vfio.c290 dev->intr_handle.vfio_dev_fd = vfio_dev_fd; in pci_vfio_setup_interrupts()
372 dev->vfio_req_intr_handle.vfio_dev_fd = vfio_dev_fd; in pci_vfio_enable_notifier()
586 vfio_dev_fd, in pci_vfio_mmap_bar()
702 int vfio_dev_fd; in pci_vfio_map_resource_primary() local
721 &vfio_dev_fd, &device_info); in pci_vfio_map_resource_primary()
842 pci_addr, vfio_dev_fd); in pci_vfio_map_resource_primary()
851 int vfio_dev_fd; in pci_vfio_map_resource_secondary() local
884 &vfio_dev_fd, &device_info); in pci_vfio_map_resource_secondary()
903 dev->intr_handle.vfio_dev_fd = vfio_dev_fd; in pci_vfio_map_resource_secondary()
905 dev->vfio_req_intr_handle.vfio_dev_fd = vfio_dev_fd; in pci_vfio_map_resource_secondary()
[all …]
/f-stack/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_vfio.c62 int vfio_dev_fd; in bcmfs_attach_vfio() local
67 &size, &v_addr, &vfio_dev_fd); in bcmfs_attach_vfio()
73 dev->vfio_dev_fd = vfio_dev_fd; in bcmfs_attach_vfio()
90 dev->vfio_dev_fd); in bcmfs_release_vfio()
H A Dbcmfs_device.h57 int vfio_dev_fd; member
/f-stack/dpdk/drivers/bus/fslmc/
H A Dfslmc_vfio.c446 int *vfio_dev_fd, struct vfio_device_info *device_info) in fslmc_vfio_setup_device() argument
538 *vfio_dev_fd = ioctl(vfio_group_fd, VFIO_GROUP_GET_DEVICE_FD, dev_addr); in fslmc_vfio_setup_device()
539 if (*vfio_dev_fd < 0) { in fslmc_vfio_setup_device()
552 ret = ioctl(*vfio_dev_fd, VFIO_DEVICE_GET_INFO, device_info); in fslmc_vfio_setup_device()
556 close(*vfio_dev_fd); in fslmc_vfio_setup_device()
616 ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in rte_dpaa2_intr_enable()
641 ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in rte_dpaa2_intr_disable()
653 int vfio_dev_fd, in rte_dpaa2_vfio_setup_intr() argument
665 ret = ioctl(vfio_dev_fd, VFIO_DEVICE_GET_IRQ_INFO, &irq_info); in rte_dpaa2_vfio_setup_intr()
689 intr_handle->vfio_dev_fd = vfio_dev_fd; in rte_dpaa2_vfio_setup_intr()
H A Dfslmc_vfio.h53 int vfio_dev_fd,
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_eal_trace.h152 rte_trace_point_emit_int(handle->vfio_dev_fd);
165 rte_trace_point_emit_int(handle->vfio_dev_fd);
177 rte_trace_point_emit_int(handle->vfio_dev_fd);
187 rte_trace_point_emit_int(handle->vfio_dev_fd);
H A Drte_vfio.h111 int *vfio_dev_fd, struct vfio_device_info *device_info);
H A Drte_eal_interrupts.h76 int vfio_dev_fd; member
/f-stack/dpdk/drivers/common/octeontx2/
H A Dotx2_irq.c33 rc = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_GET_IRQ_INFO, &irq); in irq_get_info()
82 rc = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in irq_config()
119 rc = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in irq_init()
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal_interrupts.c130 ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vfio_enable_intx()
147 ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vfio_enable_intx()
174 ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vfio_disable_intx()
190 ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vfio_disable_intx()
214 if (ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, &irq_set)) { in vfio_ack_intx()
241 ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vfio_enable_msi()
267 ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vfio_disable_msi()
301 ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vfio_enable_msix()
328 ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vfio_disable_msix()
359 ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vfio_enable_req()
[all …]
H A Deal_vfio.c686 int *vfio_dev_fd, struct vfio_device_info *device_info) in rte_vfio_setup_device() argument
896 *vfio_dev_fd = ioctl(vfio_group_fd, VFIO_GROUP_GET_DEVICE_FD, in rte_vfio_setup_device()
898 if (*vfio_dev_fd >= 0) in rte_vfio_setup_device()
903 *vfio_dev_fd = ioctl(vfio_group_fd, VFIO_GROUP_GET_DEVICE_FD, dev_addr); in rte_vfio_setup_device()
904 if (*vfio_dev_fd < 0) { in rte_vfio_setup_device()
918 ret = ioctl(*vfio_dev_fd, VFIO_DEVICE_GET_INFO, device_info); in rte_vfio_setup_device()
923 close(*vfio_dev_fd); in rte_vfio_setup_device()
935 int vfio_dev_fd) in rte_vfio_release_device() argument
977 if (close(vfio_dev_fd) < 0) { in rte_vfio_release_device()
2098 __rte_unused int *vfio_dev_fd, in rte_vfio_setup_device() argument
/f-stack/dpdk/drivers/raw/ifpga/base/
H A Difpga_feature_dev.c342 static int vfio_msix_enable_block(s32 vfio_dev_fd, unsigned int vec_start, in vfio_msix_enable_block() argument
366 ret = ioctl(vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vfio_msix_enable_block()
384 ret = vfio_msix_enable_block(feature->vfio_dev_fd, in fpga_msix_set_block()
H A Difpga_hw.h41 int vfio_dev_fd; member
H A Difpga_enumerate.c118 feature->vfio_dev_fd = binfo->pci_data->vfio_dev_fd; in build_info_add_sub_feature()
H A Dopae_hw_api.h250 int vfio_dev_fd; /* VFIO device file descriptor */ member
/f-stack/dpdk/drivers/vdpa/ifc/
H A Difcvf_vdpa.c55 int vfio_dev_fd; member
142 internal->vfio_dev_fd = -1; in ifcvf_vfio_setup()
166 internal->vfio_dev_fd = dev->intr_handle.vfio_dev_fd; in ifcvf_vfio_setup()
389 ret = ioctl(internal->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vdpa_enable_vfio_intr()
421 ret = ioctl(internal->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); in vdpa_disable_vfio_intr()
1007 return list->internal->vfio_dev_fd; in ifcvf_get_vfio_device_fd()
1029 ret = ioctl(internal->vfio_dev_fd, VFIO_DEVICE_GET_REGION_INFO, &reg); in ifcvf_get_notify_area()
/f-stack/dpdk/drivers/raw/ifpga/
H A Difpga_rawdev.c1399 name, intr_handle->vfio_dev_fd, in ifpga_register_msix_irq()
1494 data->vfio_dev_fd = pci_dev->intr_handle.vfio_dev_fd; in ifpga_rawdev_create()
/f-stack/dpdk/lib/librte_eal/freebsd/
H A Deal.c993 __rte_unused int *vfio_dev_fd, in rte_vfio_setup_device() argument