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_mtr_meter_profile

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                        rte_mtr_meter_profile(3)

Detailed Description

       Meter profile

       Definition at line 128 of file rte_mtr.h.

Field Documentation

enumrte_mtr_algorithmalg
       Traffic metering algorithm.

       Definition at line 130 of file rte_mtr.h.

   uint64_tcir
       Committed Information Rate (CIR) (bytes per second or packets per second).

       Definition at line 139 of file rte_mtr.h.

   uint64_tcbs
       Committed Burst Size (CBS) (bytes or packets).

       Definition at line 142 of file rte_mtr.h.

   uint64_tebs
       Excess Burst Size (EBS) (bytes or packets).

       Definition at line 145 of file rte_mtr.h.

   struct{...}srtcm_rfc2697
       Items only valid when alg is set to srTCM - RFC 2697.

   uint64_tpir
       Peak Information Rate (PIR) (bytes per second or packets per second).

       Definition at line 160 of file rte_mtr.h.

   uint64_tpbs
       Peak Burst Size (PBS) (bytes or packets).

       Definition at line 166 of file rte_mtr.h.

   struct{...}trtcm_rfc2698
       Items only valid when alg is set to trTCM - RFC 2698.

   uint64_teir
       Excess Information Rate (EIR) (bytes per second or packets per second).

       Definition at line 181 of file rte_mtr.h.

   struct{...}trtcm_rfc4115
       Items only valid when alg is set to trTCM - RFC 4115.

   intpacket_mode
       When zero, the byte mode is enabled for the current profile, so the rate and size fields are specified in
       bytes per second and bytes, respectively. When non-zero, the packet mode is enabled for the current
       profile, so the rate and size fields are specified in packets per second and packets, respectively.

       Definition at line 199 of file rte_mtr.h.

Name

       rte_mtr_meter_profile

Synopsis

       #include <rte_mtr.h>

   DataFields
       enum rte_mtr_algorithmalg
       int packet_mode

See Also