oem: ibm: Add PCIe Topology Actions StateSetId and Enums
PCIe Topology involves certain actions that can be done in order
to either get the topology info or save the topology info etc.
This commit adds the necessary enumerations for the topology
action and the corresponding state set ID.
Change-Id: I6fa7d25327a8ce94b3538de3e46e25e944088997
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 529746d..96ee811 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,6 +25,7 @@
4. pdr: Add pldm_entity_association_pdr_remove_contained_entity()
5. pdr: Add pldm_pdr_remove_fru_record_set_by_rsi()
6. pldm_entity_association_tree_copy_root_check()
+7. oem: ibm: Add topology related state set and enum
7. base: Add size and buffer macros for struct pldm_msg
diff --git a/include/libpldm/oem/ibm/state_set.h b/include/libpldm/oem/ibm/state_set.h
index 9ac916e..ba76a3b 100644
--- a/include/libpldm/oem/ibm/state_set.h
+++ b/include/libpldm/oem/ibm/state_set.h
@@ -16,6 +16,7 @@
PLDM_OEM_IBM_PCIE_SLOT_EFFECTER_STATE = 32773,
PLDM_OEM_IBM_PCIE_SLOT_SENSOR_STATE = 32774,
PLDM_OEM_IBM_SBE_HRESET_STATE = 32776,
+ PLDM_OEM_IBM_PCIE_TOPOLOGY_ACTIONS = 32781,
};
enum pldm_oem_ibm_pcie_slot_effecter_state {
@@ -67,6 +68,12 @@
SBE_HRESET_FAILED = 0x3,
};
+enum pldm_oem_ibm_pcie_topology_actions {
+ PLDM_OEM_IBM_PCIE_TOPOLOGY_GET_PCIE_TOPOLOGY = 0x1,
+ PLDM_OEM_IBM_PCIE_TOPOLOGY_GET_CABLE_INFO = 0x2,
+ PLDM_OEM_IBM_PCIE_TOPOLOGY_SAVE_PCIE_TOPLOGY = 0x3,
+};
+
#ifdef __cplusplus
}
#endif