DPDK  23.03.0
Data Fields
rte_table_action_meter_profile Struct Reference

#include <rte_table_action.h>

Data Fields

enum rte_table_action_meter_algorithm alg
 
struct rte_meter_srtcm_params srtcm
 
struct rte_meter_trtcm_params trtcm
 

Detailed Description

Traffic metering profile (configuration template).

Examples:
examples/ip_pipeline/cli.c, and examples/ip_pipeline/thread.c.

Definition at line 224 of file rte_table_action.h.

Field Documentation

◆ alg

Traffic metering algorithm.

Examples:
examples/ip_pipeline/cli.c.

Definition at line 226 of file rte_table_action.h.

◆ srtcm

struct rte_meter_srtcm_params srtcm

Only valid when alg is set to srTCM - IETF RFC 2697.

Examples:
examples/ip_pipeline/cli.c.

Definition at line 231 of file rte_table_action.h.

◆ trtcm

struct rte_meter_trtcm_params trtcm

Only valid when alg is set to trTCM - IETF RFC 2698.

Examples:
examples/ip_pipeline/cli.c.

Definition at line 234 of file rte_table_action.h.


The documentation for this struct was generated from the following file: