Skip to content

mctpd: add autonomous periodic discovery for point-to-point links - #177

Open
chajasmine-bit wants to merge 1 commit into
CodeConstruct:mainfrom
chajasmine-bit:point-to-point-discovery
Open

mctpd: add autonomous periodic discovery for point-to-point links#177
chajasmine-bit wants to merge 1 commit into
CodeConstruct:mainfrom
chajasmine-bit:point-to-point-discovery

Conversation

@chajasmine-bit

Copy link
Copy Markdown

Point-to-point physical links (e.g., Serial, USB, KCS) do not provide presence interrupts when an endpoint attaches or reboots, requiring manual intervention to trigger endpoint discovery.

Add autonomous periodic probing for point-to-point interfaces in Bus Owner mode. When an interface is brought UP, mctpd periodically sends Get Endpoint ID requests until the endpoint responds, assigns an EID, and publishes the endpoint on D-Bus. Probing automatically pauses when the link goes DOWN and resumes if the peer is removed.

Also add configuration options in mctpd.conf for auto-discovery, probe intervals, and static EID reservations, along with corresponding unit tests.

Point-to-point physical links (e.g., Serial, USB, KCS) do not provide
presence interrupts when an endpoint attaches or reboots, requiring manual
intervention to trigger endpoint discovery.

Add autonomous periodic probing for point-to-point interfaces in Bus Owner
mode. When an interface is brought UP, mctpd periodically sends Get Endpoint
ID requests until the endpoint responds, assigns an EID, and publishes the
endpoint on D-Bus. Probing automatically pauses when the link goes DOWN and
resumes if the peer is removed.

Also add configuration options in mctpd.conf for auto-discovery, probe
intervals, and static EID reservations, along with corresponding unit tests.

Signed-off-by: Jasmine Cha <chajasmine@google.com>
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