[dpdk-dev] [PATCH v2 08/16] Add support for mapping devices through VFIO.
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue May 27 18:36:50 CEST 2014
2014-05-27 16:21, Burakov, Anatoly:
> > 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?
I think it's acceptable.
Like this one:
extern struct pci_device_list pci_device_list;
--
Thomas
More information about the dev
mailing list