Skip to content

mctpd: add AssignEndpointPreferred for preferred EID#158

Open
HenryWuQuanta wants to merge 1 commit into
CodeConstruct:mainfrom
HenryWuQuanta:henry-add-perffer-function
Open

mctpd: add AssignEndpointPreferred for preferred EID#158
HenryWuQuanta wants to merge 1 commit into
CodeConstruct:mainfrom
HenryWuQuanta:henry-add-perffer-function

Conversation

@HenryWuQuanta

Copy link
Copy Markdown

Add AssignEndpointPreferred to allow MCTP reactor to request a preferred EID for an endpoint.

mctpd checks whether the requested EID is available before assigning it to the device. The policy for choosing preferred EID assignment or dynamic EID assignment is handled by MCTP reactor.

This is used with the MCTP reactor flow that reads the MCTPEndpointID property from Entity Manager and decides whether to request the configured EID or fall back to dynamic EID assignment.

Update the README, mctpd documentation, endpoint recovery documentation, and unit tests for the preferred EID assignment flow.

Related:
https://gerrit.openbmc.org/c/openbmc/entity-manager/+/91151
https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/91188

@HenryWuQuanta HenryWuQuanta force-pushed the henry-add-perffer-function branch from a8724a9 to 65b1357 Compare June 11, 2026 10:40
Add AssignEndpointPreferred to allow callers to request a preferred
EID for an endpoint.

mctpd checks whether the requested EID is available before assigning it
to the device. If the preferred EID is already in use, mctpd falls back
to dynamic EID assignment.

This is used by the MCTP reactor flow, where dbus-sensors reads the
MCTPEndpointID property from Entity Manager and passes it to mctpd as
the preferred EID.

Update the README, mctpd documentation, endpoint recovery documentation,
and tests for the preferred EID assignment flow.

Related:
https://gerrit.openbmc.org/c/openbmc/entity-manager/+/91151
https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/91188

Signed-off-by: Henry Wu <Henry_Wu@quantatw.com>
@HenryWuQuanta HenryWuQuanta force-pushed the henry-add-perffer-function branch from 65b1357 to c7964ff Compare June 11, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant