Skip to content

need to allow setting the DOE Discovery Version #419

@lazineer

Description

@lazineer

The DOE Discovery Version changes based on the Capability Version in the Data Object Exchange Extended Capability.
Currently, DOE_DISCOVERY_VERSION is fixed at 0.

#define DOE_DISCOVERY_VERSION 0
libspdm_return_t pci_doe_init_request()
{
pci_doe_data_object_protocol_t data_object_protocol[6];
size_t data_object_protocol_size;
libspdm_return_t status;
uint32_t index;
data_object_protocol_size = sizeof(data_object_protocol);
status =
pci_doe_discovery (m_pci_doe_context, data_object_protocol, &data_object_protocol_size, DOE_DISCOVERY_VERSION);
if (LIBSPDM_STATUS_IS_ERROR(status)) {
return status;
}

It would be good if it could be set as a parameter in spdm_emu.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions