Skip to content

Conversation

@embediver
Copy link
Collaborator

Implementation of a codec for MCTP Control Protocol messages.

Support for the following messages was implemented:

  • Get Endpoint ID
  • Set Endpoint ID
  • Get MCTP Version Support
  • Get MCTP Message Type Support

To support this, types for command/completion codes, message header and payload, and message supporting types where implemented.

For encoding/decoding a codec trait was introduced.

On top of the unit tests an example application is provided, which supports the Set Endpoint ID message.

embediver and others added 7 commits November 20, 2025 14:37
Signed-off-by: Marvin Gudel <marvin.gudel@9elements.com>
Signed-off-by: Marvin Gudel <marvin.gudel@9elements.com>
Implement a echo example that uses std functionality to talk over a tty.
The std adaptation of the stack is contained in a separate crate,
to be available for future examples and integration tests.
Signed-off-by: jonas loeffelholz <jonas.loeffelholz@9elements.com>

alter functions to be more agnostic to buffer sizes

Signed-off-by: jonas loeffelholz <jonas.loeffelholz@9elements.com>

add constructors

Signed-off-by: jonas loeffelholz <jonas.loeffelholz@9elements.com>
Signed-off-by: jonas loeffelholz <jonas.loeffelholz@9elements.com>
Signed-off-by: Marvin Gudel <marvin.gudel@9elements.com>
@embediver embediver requested a review from wmaroneAMD December 18, 2025 18:34
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Dec 18, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@embediver
Copy link
Collaborator Author

Note: This is currently still a draft due to the following:

  • Code documentation is still missing
  • The example needs to be tested
    • Might require additional support of the Discovery Notify message
  • This PR depends on Features for MCTP Control Protocol #15 which is still open

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.

2 participants