Home
last modified time | relevance | path

Searched refs:mtr_color_reg (Results 1 – 5 of 5) sorted by relevance

/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_meter.c62 mtr_init.reg_c_index = priv->mtr_color_reg - REG_C_0; in mlx5_flow_meter_action_create()
534 mod_attr.reg_c_index = priv->mtr_color_reg - REG_C_0; in mlx5_flow_meter_action_modify()
H A Dmlx5_flow.c775 return priv->mtr_color_reg; in mlx5_flow_get_reg_id()
777 return priv->mtr_color_reg != REG_C_2 ? REG_C_2 : in mlx5_flow_get_reg_id()
781 MLX5_ASSERT(priv->mtr_color_reg != REG_NON); in mlx5_flow_get_reg_id()
782 return priv->mtr_color_reg; in mlx5_flow_get_reg_id()
788 return priv->mtr_color_reg != REG_C_2 ? REG_C_2 : REG_C_3; in mlx5_flow_get_reg_id()
797 start_reg = priv->mtr_color_reg != REG_C_2 ? REG_C_2 : in mlx5_flow_get_reg_id()
815 [id + start_reg - REG_C_0] >= priv->mtr_color_reg) { in mlx5_flow_get_reg_id()
H A Dmlx5.h1001 uint8_t mtr_color_reg; /* Meter color match REG_C. */ member
H A Dmlx5_flow_dv.c12163 ret = flow_dv_prepare_mtr_tables(dev, mtb, 1, 0, priv->mtr_color_reg); in flow_dv_create_mtr_tbl()
12169 ret = flow_dv_prepare_mtr_tables(dev, mtb, 0, 0, priv->mtr_color_reg); in flow_dv_create_mtr_tbl()
12177 priv->mtr_color_reg); in flow_dv_create_mtr_tbl()
12330 priv->mtr_color_reg); in flow_dv_create_policer_rules()
12338 priv->mtr_color_reg); in flow_dv_create_policer_rules()
12346 priv->mtr_color_reg); in flow_dv_create_policer_rules()
/f-stack/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c1189 priv->mtr_color_reg = REG_C_3; in mlx5_dev_spawn()
1191 priv->mtr_color_reg = ffs(reg_c_mask) in mlx5_dev_spawn()
1197 priv->mtr_color_reg); in mlx5_dev_spawn()
1203 priv->mtr_color_reg == REG_C_3) { in mlx5_dev_spawn()