Messages in this thread | | | Date | Mon, 2 Nov 2020 14:51:30 -0400 | From | Jason Gunthorpe <> | Subject | Re: [PATCH v4 00/17] Add VFIO mediated device support and DEV-MSI support for the idxd driver |
| |
On Mon, Nov 02, 2020 at 10:38:28AM -0800, Dan Williams wrote:
> > I think you will be the first to use the namespace stuff for this, it > > seems like a good idea and others should probably do so as well. > > I was thinking either EXPORT_SYMBOL_NS, or auxiliary bus, because you > should be able to export an ops structure with all the necessary > callbacks.
'or'?
Auxiliary bus should not be used with huge arrays of function pointers... The module providing the device should export a normal linkable function interface. Putting that in a namespace makes a lot of sense.
Jason
| |