For device doesn't support multiple SPDM sessions ( through session ID or connection ID), but does support multiple types IDE streams, for example, support both CXL.cm IDE, CXL.io/PCIe link IDE, CXL.io/PCIe selective IDE, we need to setup up and tear down multiple IDE streams within one single SPDM session. Below is an example flow:
Initate SPDM session -> setup CXL.io/PCIe link IDE -> setup CXL.io/PCIe selective IDE -> setup CXL.cm IDE -> Traffic to exercise IDE -> tear down IDE1 -> tear down IDE2 -> tear down IDE3 -> tear down SPDM session
For TEEIO validator, it would be to support separate SPDM session management and IDE stream management so that we can support such use case.
For device doesn't support multiple SPDM sessions ( through session ID or connection ID), but does support multiple types IDE streams, for example, support both CXL.cm IDE, CXL.io/PCIe link IDE, CXL.io/PCIe selective IDE, we need to setup up and tear down multiple IDE streams within one single SPDM session. Below is an example flow:
Initate SPDM session -> setup CXL.io/PCIe link IDE -> setup CXL.io/PCIe selective IDE -> setup CXL.cm IDE -> Traffic to exercise IDE -> tear down IDE1 -> tear down IDE2 -> tear down IDE3 -> tear down SPDM session
For TEEIO validator, it would be to support separate SPDM session management and IDE stream management so that we can support such use case.