Skip to content

mctp-client: add configurable receive timeout - #188

Open
mmetha wants to merge 1 commit into
CodeConstruct:mainfrom
mmetha:mmetha/mctp_client_timeout
Open

mmetha wants to merge 1 commit into
CodeConstruct:mainfrom
mmetha:mmetha/mctp_client_timeout

Conversation

@mmetha

@mmetha mmetha commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Prevent the client from waiting indefinitely when an
endpoint does not respond. Default to 500 ms and
allow the timeout to be specified before the data
argument.

Prevent the client from waiting indefinitely when an
endpoint does not respond. Default to 500 ms and
allow the timeout to be specified before the data
argument.

Signed-off-by: Mayank Metha <mayank.metha@intel.com>
@mmetha
mmetha force-pushed the mmetha/mctp_client_timeout branch from 0df3155 to 1225889 Compare November 30, 2026 04:13
@jk-ozlabs

Copy link
Copy Markdown
Member

No specifically a request for a change, but what would you think about using a option-style argument for this? (ie., --timeout)?

My thinking here is that the existing arguments all affect message properties, while the timeout affects program behaviour. Downside is that this would be different from all of the existing argument formats.

@mkj, @amboar : any thoughts?

@amboar

amboar commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

@jk-ozlabs I prefer the option-style suggestion.

That said, there's also timeout(1).

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.

3 participants