Home
last modified time | relevance | path

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

/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c1316 priv->mtr_color_reg = REG_C_3; in mlx5_dev_spawn()
1318 priv->mtr_color_reg = ffs(reg_c_mask) in mlx5_dev_spawn()
1323 priv->mtr_color_reg); in mlx5_dev_spawn()
1348 if (hca_attr->flow_hit_aso && priv->mtr_color_reg == REG_C_3) { in mlx5_dev_spawn()
1360 if (hca_attr->ct_offload && priv->mtr_color_reg == REG_C_3) { in mlx5_dev_spawn()
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_meter.c70 mtr_init.reg_c_index = priv->mtr_color_reg - REG_C_0; in mlx5_flow_meter_action_create()
1067 mod_attr.reg_c_index = priv->mtr_color_reg - REG_C_0; in mlx5_flow_meter_action_modify()
H A Dmlx5_flow.c1100 return priv->mtr_color_reg; in mlx5_flow_get_reg_id()
1102 return priv->mtr_color_reg != REG_C_2 ? REG_C_2 : in mlx5_flow_get_reg_id()
1109 MLX5_ASSERT(priv->mtr_color_reg != REG_NON); in mlx5_flow_get_reg_id()
1110 return priv->mtr_color_reg; in mlx5_flow_get_reg_id()
1116 return priv->mtr_color_reg != REG_C_2 ? REG_C_2 : REG_C_3; in mlx5_flow_get_reg_id()
1125 start_reg = priv->mtr_color_reg != REG_C_2 ? REG_C_2 : in mlx5_flow_get_reg_id()
1143 [id + start_reg - REG_C_0] >= priv->mtr_color_reg) { in mlx5_flow_get_reg_id()
H A Dmlx5.h1508 uint8_t mtr_color_reg; /* Meter color match REG_C. */ member
H A Dmlx5_flow_dv.c7843 tag_id == 0 && priv->mtr_color_reg == REG_NON) in flow_dv_validate()