> From: Jason Gunthorpe <jgg@xxxxxxxxxx> > Sent: Saturday, March 11, 2023 1:53 AM > > On Thu, Mar 09, 2023 at 11:45:05PM -0800, Nicolin Chen wrote: > > > Yea, that's what I thought too. Yet, I am wondering a bit if > > it'd be better to have an ops->hwpt_type in the drivers, v.s. > > maintaining a potentially big chunk of the array here. > > It probably is, some ops->iommufd_data.XX is not a bad idea Will try. Regards, Yi Liu