commit | 42876b6c6e4e260765bfa166e2e19893a2b9ec51 | [log] [tgz] |
---|---|---|
author | Archana Kakani <archana.kakani@ibm.com> | Tue Feb 04 04:22:29 2025 -0600 |
committer | ManojKiran Eda <manojkiran.eda@gmail.com> | Mon Feb 10 05:16:53 2025 +0000 |
tree | 94e2714e7cbc3f4c06362219f34c0893b607d6f7 | |
parent | 17b1e8a8fe1b1d8deab7718f40c57d766e235f63 [diff] [blame] |
host-bmc: Implement fabric adapter interface Adding support to host fabric adapter dbus interface. Based on the PDRs received from remote PLDM terminus, PLDM hosts the dbus interface based on the entity type. The Fabric adapter interface is defined at [1]. Tested: Functional test passed [1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/FabricAdapter.interface.yaml Change-Id: I72a7e3198dbbf78521eeeb37b926562064f733b9 Signed-off-by: Archana Kakani <archana.kakani@ibm.com>
diff --git a/host-bmc/host_pdr_handler.cpp b/host-bmc/host_pdr_handler.cpp index cf2652f..53ea526 100644 --- a/host-bmc/host_pdr_handler.cpp +++ b/host-bmc/host_pdr_handler.cpp
@@ -1183,6 +1183,10 @@ case PLDM_ENTITY_FAN: CustomDBus::getCustomDBus().implementFanInterface(entity.first); break; + case PLDM_ENTITY_IO_MODULE: + CustomDBus::getCustomDBus().implementFabricAdapter( + entity.first); + break; default: break; }