logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_table_action_mtr_config

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                  rte_table_action_mtr_config(3)

Detailed Description

       Meter action configuration (per table action profile).

       Definition at line 287 of file rte_table_action.h.

Field Documentation

enumrte_table_action_meter_algorithmalg
       Meter algorithm.

       Definition at line 289 of file rte_table_action.h.

   uint32_tn_tc
       Number of traffic classes. Each traffic class has its own traffic meter and policer instances. Needs to
       be equal to either 1 or to RTE_TABLE_ACTION_TC_MAX.

       Definition at line 295 of file rte_table_action.h.

   intn_packets_enabled
       When non-zero, the n_packets meter stats counter is enabled, otherwise it is disabled.

       Seealso
           struct rte_table_action_mtr_counters_tc

       Definition at line 302 of file rte_table_action.h.

   intn_bytes_enabled
       When non-zero, the n_bytes meter stats counter is enabled, otherwise it is disabled.

       Seealso
           struct rte_table_action_mtr_counters_tc

       Definition at line 309 of file rte_table_action.h.

Name

       rte_table_action_mtr_config

Synopsis

       #include <rte_table_action.h>

   DataFields
       enum rte_table_action_meter_algorithmalg
       uint32_t n_tc
       int n_packets_enabled
       int n_bytes_enabled

See Also