Skip to content

Commit

Permalink
Update LIBCXLTSP_CONFIGURATION_REPORT_PORTION_LEN to 0x400
Browse files Browse the repository at this point in the history
LIBCXLTSP_CONFIGURATION_REPORT_PORTION_LEN defines the portion length
when reading the TSP_CONFIGURATION from device. Its value was 0x40
and was too small. 0x400 will be a more reasonable value.

Signed-off-by: Min M Xu <min.m.xu@intel.com>
  • Loading branch information
mxu9 committed Dec 19, 2024
1 parent 93fd492 commit c898e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/library/cxl_tsp_common_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#define LIBCXLTSP_MAX_VERSION_COUNT 0x1
#define LIBCXLTSP_CONFIGURATION_REPORT_MAX_SIZE 0x1000

#define LIBCXLTSP_CONFIGURATION_REPORT_PORTION_LEN 0x40
#define LIBCXLTSP_CONFIGURATION_REPORT_PORTION_LEN 0x80

#define LIBCXLTSP_ERROR_MESSAGE_MAX_SIZE (sizeof(cxl_tsp_error_rsp_t))

Expand Down

0 comments on commit c898e81

Please sign in to comment.