-
Notifications
You must be signed in to change notification settings - Fork 19
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
Tag owner bit in Request message #64
Comments
It will work, provided this is a non-owned tag (ie, Given you're using a tag value of 0x05, this will send a message with the tag value of 0x05, which indicates a non-owned tag. However, you also say:
If this is a request from the BMC, you will need the |
thanks |
@jk-ozlabs so if i want to create my own tag and send request with my own tag(i am the tag owner and i will set tag owner bit) its not possible in existing mctp sockets ? |
You cannot specify your own tag if you need the TO bit set. The kernel is responsible for owned-tag allocation, and the tag you specify may conflict with tags that the kernel has allocated. So, we do not permit arbitrary TO=1 tags to be specified here. Can I ask why you're trying to use your own tag here? |
i am trying to use libmctp , there tag handling is done by library |
You should not be using libmctp if you are using the Linux kernel MCTP implementation. libmctp is intended for stand-alone environments - typically embedded - where the entire MCTP stack is implemented in the one library. This is not the case when using the Linux MCTP stack. |
I am working on sending a request from the BMC, and I want to utilize my own tag rather than the tag generated by the kernel. For this request, I am using:
Is this approach correct?
The text was updated successfully, but these errors were encountered: