We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca8312 commit ef6c246Copy full SHA for ef6c246
1 file changed
inc/saimirror.h
@@ -403,6 +403,22 @@ typedef enum _sai_mirror_session_attr_t
403
*/
404
SAI_MIRROR_SESSION_ATTR_LABEL,
405
406
+ /**
407
+ * @brief Guarantee sample rate in packets per second (pps)
408
+ *
409
+ * While guarantee rate is not breached, all packets will be sampled (100% sampling).
410
+ * Once breached, packets will be sampled based on the mirror statistics (fallback to
411
+ * statistical sampling based on SAI_MIRROR_SESSION_ATTR_SAMPLE_RATE).
412
413
+ * This is expected to enable guaranteed sampling for very low pps flows.
414
+ * A value of 0 disables the guarantee rate feature.
415
416
+ * @type sai_uint64_t
417
+ * @flags CREATE_AND_SET
418
+ * @default 0
419
+ */
420
+ SAI_MIRROR_SESSION_ATTR_GUARANTEE_RATE,
421
+
422
/**
423
* @brief End of attributes
424
0 commit comments