FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
xlate.h File Reference
+ Include dependency graph for xlate.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sse2_qos_pol_action_params_st_
 
struct  sse2_qos_pol_cfg_params_st_
 
struct  sse2_qos_pol_hw_params_st_
 

Typedefs

typedef enum sse2_qos_policer_type_en_ sse2_qos_policer_type_en
 
typedef struct sse2_qos_pol_action_params_st_ sse2_qos_pol_action_params_st
 
typedef struct sse2_qos_pol_cfg_params_st_ sse2_qos_pol_cfg_params_st
 
typedef struct sse2_qos_pol_hw_params_st_ sse2_qos_pol_hw_params_st
 

Enumerations

enum  sse2_qos_policer_type_en_ {
  SSE2_QOS_POLICER_TYPE_1R2C = 0, SSE2_QOS_POLICER_TYPE_1R3C_RFC_2697 = 1, SSE2_QOS_POLICER_TYPE_2R3C_RFC_2698 = 2, SSE2_QOS_POLICER_TYPE_2R3C_RFC_4115 = 3,
  SSE2_QOS_POLICER_TYPE_2R3C_RFC_MEF5CF1 = 4, SSE2_QOS_POLICER_TYPE_MAX
}
 
enum  sse2_qos_round_type_en { SSE2_QOS_ROUND_TO_CLOSEST = 0, SSE2_QOS_ROUND_TO_UP, SSE2_QOS_ROUND_TO_DOWN, SSE2_QOS_ROUND_INVALID }
 
enum  sse2_qos_rate_type_en { SSE2_QOS_RATE_KBPS = 0, SSE2_QOS_RATE_PPS, SSE2_QOS_RATE_INVALID }
 
enum  sse2_qos_action_type_en { SSE2_QOS_ACTION_DROP = 0, SSE2_QOS_ACTION_TRANSMIT, SSE2_QOS_ACTION_MARK_AND_TRANSMIT }
 

Functions

int sse2_pol_logical_2_physical (sse2_qos_pol_cfg_params_st *cfg, policer_read_response_type_st *phys)
 

Typedef Documentation

◆ sse2_qos_pol_action_params_st

◆ sse2_qos_pol_cfg_params_st

◆ sse2_qos_pol_hw_params_st

◆ sse2_qos_policer_type_en

Enumeration Type Documentation

◆ sse2_qos_action_type_en

Enumerator
SSE2_QOS_ACTION_DROP 
SSE2_QOS_ACTION_TRANSMIT 
SSE2_QOS_ACTION_MARK_AND_TRANSMIT 

Definition at line 72 of file xlate.h.

◆ sse2_qos_policer_type_en_

Enumerator
SSE2_QOS_POLICER_TYPE_1R2C 
SSE2_QOS_POLICER_TYPE_1R3C_RFC_2697 
SSE2_QOS_POLICER_TYPE_2R3C_RFC_2698 
SSE2_QOS_POLICER_TYPE_2R3C_RFC_4115 
SSE2_QOS_POLICER_TYPE_2R3C_RFC_MEF5CF1 
SSE2_QOS_POLICER_TYPE_MAX 

Definition at line 29 of file xlate.h.

◆ sse2_qos_rate_type_en

Enumerator
SSE2_QOS_RATE_KBPS 
SSE2_QOS_RATE_PPS 
SSE2_QOS_RATE_INVALID 

Definition at line 61 of file xlate.h.

◆ sse2_qos_round_type_en

Enumerator
SSE2_QOS_ROUND_TO_CLOSEST 
SSE2_QOS_ROUND_TO_UP 
SSE2_QOS_ROUND_TO_DOWN 
SSE2_QOS_ROUND_INVALID 

Definition at line 43 of file xlate.h.

Function Documentation

◆ sse2_pol_logical_2_physical()

int sse2_pol_logical_2_physical ( sse2_qos_pol_cfg_params_st cfg,
policer_read_response_type_st phys 
)

Definition at line 1171 of file xlate.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: