| /f-stack/dpdk/drivers/bus/pci/linux/ |
| H A D | pci_vfio.c | 290 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 D | bcmfs_vfio.c | 62 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 D | bcmfs_device.h | 57 int vfio_dev_fd; member
|
| /f-stack/dpdk/drivers/bus/fslmc/ |
| H A D | fslmc_vfio.c | 446 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 D | fslmc_vfio.h | 53 int vfio_dev_fd,
|
| /f-stack/dpdk/lib/librte_eal/include/ |
| H A D | rte_eal_trace.h | 152 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 D | rte_vfio.h | 111 int *vfio_dev_fd, struct vfio_device_info *device_info);
|
| H A D | rte_eal_interrupts.h | 76 int vfio_dev_fd; member
|
| /f-stack/dpdk/drivers/common/octeontx2/ |
| H A D | otx2_irq.c | 33 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 D | eal_interrupts.c | 130 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 D | eal_vfio.c | 686 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 D | ifpga_feature_dev.c | 342 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 D | ifpga_hw.h | 41 int vfio_dev_fd; member
|
| H A D | ifpga_enumerate.c | 118 feature->vfio_dev_fd = binfo->pci_data->vfio_dev_fd; in build_info_add_sub_feature()
|
| H A D | opae_hw_api.h | 250 int vfio_dev_fd; /* VFIO device file descriptor */ member
|
| /f-stack/dpdk/drivers/vdpa/ifc/ |
| H A D | ifcvf_vdpa.c | 55 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, ®); in ifcvf_get_notify_area()
|
| /f-stack/dpdk/drivers/raw/ifpga/ |
| H A D | ifpga_rawdev.c | 1399 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 D | eal.c | 993 __rte_unused int *vfio_dev_fd, in rte_vfio_setup_device() argument
|