-
Notifications
You must be signed in to change notification settings - Fork 106
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
Issue in SPDM_RESPOND_IF_READY handling #2507
Comments
and However, maybe after a request is sent libspdm could wait some amount of time (possibly 0, which is what we do today) before retrieving the response? I think most Responders will block at the transport layer before giving the response. However in your case it seems like the Responder can be pre-empted to return |
Thank you for your reply.
|
What OS is the Requester running on? https://github.com/DMTF/libspdm/tree/main/os_stub/platform_lib has the reference sleep functions but I don't know if they've ever been tested.
Like send more |
We are using Linux. |
|
Update codes in https://github.com/DMTF/libspdm/blob/main/library/spdm_requester_lib/libspdm_req_handle_error_response.c#L186
|
When checking the SPDM functionality using an nVidia CX7 network card,
When executing the challenge and get_measurement commands, I found that the SPDM_RESPOND_IF_READY command always fails.
After checking the source code, I found that the execution process only waits for WT us and does not take WTMax into account.
There was also no SPDM_RESPOND_IF_READY retry.
I think that not every device is in a perfect state like spdm-emu.
The implementation should be improved for further applications.
Any idea about this?
Fig. 1
Fig. 2
The text was updated successfully, but these errors were encountered: