Open eero-t opened 4 months ago
@eero-t,
Thanks for the suggestion. We would refactor code in the next sprints. One exception: CLI and core would not share helper functions because the only interface between CLI and core is XPUM API in the current design.
Noticed multiple places having almost identical code for parsing sysfs
uevent
file:I would suggest consolidating all of them to a single helper function that is provided e.g. the PCI BDF string that should be matched.