Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta-ampere: network: workaround: avoid high dbus traffic
During the DC power cycle, if an interface is lost and re-gained (especially an inband interface, like usb0), phosphor-network will jump to the method "createChildObjects()" to create these two object paths "/xyz/openbmc_project/network/config and /xyz/openbmc_project/network/config/dhcp" and it will keep recursively triggering the org.freedesktop.hostname1 service to query for hostname. This leads to the dbus become busy and will affect other services like ipmid which also query for data during DC power cycle. This commit adds a workaround for this issue, derived from below commits currently reviewed https://gerrit.openbmc.org/c/openbmc/phosphor-networkd/+/58755 https://gerrit.openbmc.org/c/openbmc/phosphor-networkd/+/58725 Tested: 1. Run stress DC power cycle 100 times and do not see ssif interface issue. Signed-off-by: quang.name <[email protected]>
- Loading branch information