> From: Christoph Hellwig > Sent: Wednesday, July 6, 2022 3:42 PM > > Instead of copying the information from the vgpu_types arrays into each > intel_vgpu_type structure, just reference this constant information > with a pointer to the already existing data structure, and pass it into > the low-level VGPU creation helpers intead of copying the data into yet > anothe params data structure. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > Reviewed-by: Zhenyu Wang <zhenyuw@xxxxxxxxxxxxxxx> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>