[dpdk-dev] [PATCH v2 08/16] Add support for mapping devices through VFIO.

Burakov, Anatoly anatoly.burakov at intel.com
Tue May 27 18:21:06 CEST 2014


Hi Thomas,

> You are defining some variables in a .h file. I think it is a problem.

I have managed to move everything to .c files, except for "struct mapped_pci_res_list *pci_res_list;" - which I need in both uio and vfio .c files. I don't think I'll be able to move it out of the eal_pci_init header file. Should declaring it as extern be fine as a compromise?

Best regards,
Anatoly Burakov
DPDK SW Engineer





More information about the dev mailing list