Skip to content

Add mechanism to gather RAS error states dynamically instead of using static array #189

@aravindksg

Description

@aravindksg

Currently, zes-ras-state-t has static array for category of errors for which counter info is populated here: uint64_t category[ZES_MAX_RAS_ERROR_CATEGORY_COUNT]

this makes it hard to add any new RAS error categories as we would need to also update ZES_MAX_RAS_ERROR_CATEGORY_COUNT .
having more flexible mechanism where users can discover number of error categories for which state info is available makes it extensible for future as well when new categories are to be added and provides stable interface to user

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions