|
Post by nschellenberger on May 10, 2023 22:15:22 GMT
Silly question: is there any standard guidance concerning how/where to expose the PCIe bus number of the B/D/F for a device?
Anecdotally, it looks as though different vendors have historically done things in different ways. Dell iDRAC seems to prefer encoding it in the Id property as "B-D" solely by convention (as opposed to by schema metadata) e.g. "27-0" being bus 27, device 0. HPE iLO seems to use an HP Oem extension(s) with the bus number as a property.
In our case, we have a fabric-y situation where the bus numbers can actually change over time and my gut tells me encoding it in the Id is going to cause headaches for us down the road if the Ids are not invariant across time.... OTOH an Oem extension is, well, an extension. Even if there is no formal requirement or specification, if things have effectively gravitated to some sort of informal consensus, I'm happy to follow that.
|
|
|
Post by mraineri on May 11, 2023 12:08:58 GMT
At this time, we don't have a standard method of reporting this info. While some use encoding of the bus and device numbers as part of the Id property, there's no rule to enforce that pattern. Other vendors might just have a simple 1 to X index for their PCIeDevice resources. Right now the best way to capture this is in an OEM property, but we can certainly discuss things internally to see if we can add bus and device number info into standard properties.
|
|