|
Post by Michael Shen on Nov 21, 2023 3:49:20 GMT
Hi, I am trying to understand how to map between SMBIOS `System Slots (Type 9)` and Redfish `6.94 PCIeSlots, 6.94.4.2 SlotType`. Their table looks quite different. Also I noticed the `6.94 PCIeSlots` has been deprecated in 02.2023. Then what's the replacement for it? Is it `PCIeDevices/PCIeInterface`? Thanks, Michael
|
|
|
Post by jautor on Nov 21, 2023 16:46:42 GMT
The PCIeSlots resource was deprecated in favor of the "Slot" object in PCIeDevice. Since a PCIeDevice resource collection was added quite a while ago to Chassis, having a separate, mostly static resource just to describe the slots became duplicative. So you populate the "Slot" object within a PCIeDevice resource for each slot. If the slot is empty, you populate it with an "Absent" State to allow discovery of that capability.
Redfish didn't carry forward the 20 years of obsolete values that can be represented in those SMBIOS tables, so yes, the values will be different - and the properties within "Slot" are more PCIe specific. But the end result should be much easier for the consumers of the data to comprehend.
Jeff
|
|
|
Post by Michael Shen on Nov 22, 2023 7:25:14 GMT
I see. Thanks for reply. One more question, do you know how to get "SlotType" in general? I checked the PCI configuration space (https://en.wikipedia.org/wiki/PCI_configuration_space) but I didn't see a place to store this information.
Michael
|
|
|
Post by jautor on Nov 22, 2023 16:16:23 GMT
I see. Thanks for reply. One more question, do you know how to get "SlotType" in general? I checked the PCI configuration space (https://en.wikipedia.org/wiki/PCI_configuration_space) but I didn't see a place to store this information. Michael
It won't be in PCI configuration space, because it's not a feature of the PCI device/chipset. You'll likely have to obtain that by a platform-specific lookup table - which is what SMBIOS is supposed to be.
|
|