Regarding the transfer mechanism for Large SPDM Message (CHUNK_SEND and CHUNK_GET) #1012
Unanswered
KwonHyunSoo
asked this question in
Q&A
Replies: 2 comments
-
libspdm does not support retry so far. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Retries with chunking are a bit more straightforward than other cases since chunking includes the sequence number. Also the SPDM specification does not require that a Responder support retries during chunking, just that
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
According to 10.26.3 Additional chunk transfer requirements of the SPDM v1.2 version 1.2.0 (or 1.2.1), due to retries, an SPDM endpoint might re-send or re-retrieve the current chunk number in the transfer.
However, it seems that libspdm does not consider such re-send mechanism in that the responder returns the error response when receiving the sequence number in SPDM request is not equal to "send_info->chunk_seq_no + 1" as follows:
libspdm/library/spdm_responder_lib/libspdm_rsp_chunk_send_ack.c
Lines 147 to 153 in 09be8c3
How can the responder check whether the current CHUNK_SEND command is re-transmitted or not?
Thanks,
H. Kwon
Beta Was this translation helpful? Give feedback.
All reactions