You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above parameters will be set for the enabled links, as specified by the `LinkMask` parameter. See the [LinkMask](#linkmask) section
229
231
for more info.
230
232
231
-
Note that for `AllowRejection`, `LinkLoopbackEnabled`, `PonUpstreamEnabled`, `DynamicOffsetEnabled`, `GbtEnabled` and `UserLogicEnabled` it is sufficient to do the following, as they are simply booleans.
233
+
Note that for `AllowRejection`, `LinkLoopbackEnabled`, `PonUpstreamEnabled`, `DynamicOffsetEnabled`, `GbtEnabled`, `UserLogicEnabled`, `DropBadRdhEnabled` it is sufficient to do the following, as they are simply booleans.
@@ -315,6 +319,9 @@ class ProgramConfig : public Program
315
319
options.add_options()("status-report",
316
320
po::value<std::string>(&mOptions.statusReport),
317
321
"Sets file where to output card status (similar to roc-status). Can be stdout, infologger, or a file name. The file name can be preceded with + for appending the file. Name can contain special escape sequences %t (timestamp) %T (date/time) or %i (card ID). Infologger reports are set with error code 4805.");
322
+
options.add_options()("drop-bad-rdh",
323
+
po::bool_switch(&mOptions.dropBadRdhEnabled),
324
+
"Flag to enable dropping of packets with bad RDH");
318
325
Options::addOptionCardId(options);
319
326
}
320
327
@@ -480,6 +487,7 @@ class ProgramConfig : public Program
0 commit comments