Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assigning different eids to diffrent devices on i3c bus #67

Open
chandu-tmba opened this issue Mar 30, 2025 · 3 comments
Open

assigning different eids to diffrent devices on i3c bus #67

chandu-tmba opened this issue Mar 30, 2025 · 3 comments

Comments

@chandu-tmba
Copy link

I am trying to create two different local EIDs for communication with two devices on one I3C bus. Although I am able to create the local EIDs using the MCTP address command, the communication does not work with both EIDs. It only works with one EID. Is this the expected behavior?

Image

In the output of the ip a command, I can see only one interface listed, which will be used for communication with different devices on the bus based on the PID, as per my understanding.

Image

@jk-ozlabs
Copy link
Member

Can you expand on:

the communication does not work with both EIDs

What does "does not work" mean there?

The ip addr output is not very helpful, mctp addr and mctp route will give you a better idea of the address/routing assignments.

Note that when sending outbound MCTP packets through an interface with multiple local addresses assigned, the kernel will chose an arbitrary (but constant) address for the source address of those packets. Are you expecting any particular behaviour for the source addresses?

@chandu-tmba
Copy link
Author

Are you expecting any particular behaviour for the source addresses?

yes, when sending mctp packets to specific device on bus , i want to use specific local adrress assigned as source address of mctp packet based on pid of the target device

@jk-ozlabs
Copy link
Member

OK. That is not supported at present.

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

No branches or pull requests

2 participants