numam-dpdk/lib
Anatoly Burakov 317fe51f6e eal: add command line option to select vfio interrupt type
Unlike igb_uio, VFIO interrupt type is not set by kernel module
parameters but is set up via ioctl() calls at runtime. This warrants
a new EAL command-line parameter. It will have no effect if VFIO is
not compiled, but will set VFIO interrupt type to either "legacy", "msi"
or "msix" if VFIO support is compiled. Note that VFIO initialization
will fail if the interrupt type selected is not supported by the system.

If the interrupt type parameter wasn't specified, VFIO will try all
interrupt types (starting with MSI-X).

In unit tests, we don't know if VFIO is compiled (eal_vfio.h header is
internal to Linuxapp EAL), so we check this flag regardless.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Tested-by: Waterman Cao <waterman.cao@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-06-16 15:02:10 +02:00
..
librte_acl acl: new library 2014-06-14 01:29:45 +02:00
librte_cmdline remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_distributor distributor: new packet distributor library 2014-06-12 15:47:04 +02:00
librte_eal eal: add command line option to select vfio interrupt type 2014-06-16 15:02:10 +02:00
librte_ether ethdev: Tx rate limitation for queue and VF 2014-06-11 15:56:19 +02:00
librte_hash remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_ivshmem remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_kni remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_kvargs devargs: use a comma instead of semicolon to separate key/values 2014-04-10 15:50:11 +02:00
librte_lpm lpm: introduce rte_lpm_lookupx4 2014-06-12 12:11:39 +02:00
librte_malloc remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_mbuf remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_mempool remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_meter remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_net remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_pmd_e1000 pci: rename RTE_PCI_DRV_NEED_IGB_UIO to RTE_PCI_DRV_NEED_MAPPING 2014-06-16 15:02:10 +02:00
librte_pmd_ixgbe pci: rename RTE_PCI_DRV_NEED_IGB_UIO to RTE_PCI_DRV_NEED_MAPPING 2014-06-16 15:02:10 +02:00
librte_pmd_pcap remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_pmd_ring remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_pmd_virtio pci: rename RTE_PCI_DRV_NEED_IGB_UIO to RTE_PCI_DRV_NEED_MAPPING 2014-06-16 15:02:10 +02:00
librte_pmd_vmxnet3 pci: rename RTE_PCI_DRV_NEED_IGB_UIO to RTE_PCI_DRV_NEED_MAPPING 2014-06-16 15:02:10 +02:00
librte_pmd_xenvirt remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_power remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_ring remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_sched remove trailing whitespaces 2014-06-11 00:29:34 +02:00
librte_timer remove trailing whitespaces 2014-06-11 00:29:34 +02:00
Makefile acl: new library 2014-06-14 01:29:45 +02:00