Add an option for 512 byte requests to host_exerciser
@@ -84,6 +84,7 @@ typedef enum {
HOSTEXE_CLS_1 = 0x0,
HOSTEXE_CLS_2 = 0x1,
HOSTEXE_CLS_4 = 0x2,
+ HOSTEXE_CLS_8 = 0x3,
} hostexe_req_len;
@@ -292,6 +293,7 @@ const std::map<std::string, uint32_t> he_req_cls_len= {
{ "cl_1", HOSTEXE_CLS_1},
{ "cl_2", HOSTEXE_CLS_2},
{ "cl_4", HOSTEXE_CLS_4},
+ { "cl_8", HOSTEXE_CLS_8},
};
const std::map<std::string, uint32_t> he_test_mode = {
@@ -323,7 +325,7 @@ public:
->transform(CLI::CheckedTransformer(he_modes))->default_val("lpbk");
// Cache line
- app_.add_option("--cls", he_req_cls_len_, "number of CLs per request{cl_1, cl_2, cl_4}")
+ app_.add_option("--cls", he_req_cls_len_, "number of CLs per request{cl_1, cl_2, cl_4, cl_8}")
->transform(CLI::CheckedTransformer(he_req_cls_len))->default_val("cl_1");
// Configures test rollover or test termination
