vfio: extract setup logic out of resource mapping
authorJan Viktorin <viktorin@rehivetech.com>
Mon, 4 Jul 2016 15:16:45 +0000 (17:16 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 Jul 2016 11:37:12 +0000 (13:37 +0200)
commit0747689b56307876aecf9377f608ef6441a0cee5
treec7f6f8c5d1801afa6147678fb137b1380b49705b
parentc073a585a09c1e9a1712270055e3477b616ab016
vfio: extract setup logic out of resource mapping

The setup logic access the global vfio_cfg variable that will be moved in the
following commits. We need to separate all accesses to this variable to a
general code.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c