On 16/11/2020 22:23, Jason Gunthorpe wrote: > When the user calls efa_query_device_ex() it should not cause the context > values to be mutated, only the attribute shuld be returned. > > Move this code to a dedicated function that is only called during context > setup. > > Cc: Gal Pressman <galpress@xxxxxxxxxx> > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Didn't get a chance to review yet, but this one breaks EFA. I'll try to provide more info today/tomorrow. (BTW: typo in the subject line "intialization", and "shuld" in the commit message)