On Tue, Jun 14, 2022 at 10:32:11AM +0000, Tian, Kevin wrote: > > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > > [count instances per-parent instead of per-type] > > per-parent counting works only if the parent doesn't have overlapping > instances between types. This is probably worth a clarification in doc. Yes. Two cases right now just have a single type, and the third wants this per-parent counting. The original patch from Jason actually got this wrong.