Skip to content

[Question]Can we consider exposing local eid associated to remote peer as part of interface property #147

@faizana-nvidia

Description

@faizana-nvidia

The PLDM SetEventReceiver command requires configuring a terminus with the Event Receiver's EID (as request message payload eventReceiverAddressInfo ), which the terminus then uses as the destination for all subsequent event notifications to the BMC. To fulfill this, we need a straightforward way to determine the local EID that a remote endpoint should address when sending asynchronous event messages.

Currently, it is possible to manually correlate a remote endpoint's EID with the interface it is routed through and the local EID assigned to that interface, using the mctp tool. For example, remote EID 10 is routed via the musb1_1_1_1_1 interface, which has local EID 8:

$mctp route show
eid min 10 max 10 net 1 dev musb1_1_1_1_1 mtu 68

$mctp addr show
eid 8 net 1 dev musb1_1_1_1_1

However, this is a multi-step lookup, and applications like PLDM need this information readily available. Could we consider publishing the local EID as part of the xyz.openbmc_project.MCTP.Endpoint interface (or another existing/new interface) on each endpoint object?

The au.com.codeconstruct.MCTP.Network1 interface already exposes all local EIDs for a given network, but since multiple local EIDs in the range [0x08, 0xFE] may be assigned across different interfaces, there is no direct way for an application to determine which local EID corresponds to a specific remote endpoint. Publishing this association per-endpoint would eliminate the manual lookup and directly satisfy the PLDM requirement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions