Searched refs:trtcm_rfc2698 (Results 1 – 7 of 7) sorted by relevance
199 cir = profile->trtcm_rfc2698.cir << ls_factor; in mlx5_flow_meter_profile_validate()200 cbs = profile->trtcm_rfc2698.cbs << ls_factor; in mlx5_flow_meter_profile_validate()201 pir = profile->trtcm_rfc2698.pir << ls_factor; in mlx5_flow_meter_profile_validate()338 MLX5_ASSERT(fmp->profile.trtcm_rfc2698.pir > in mlx5_flow_meter_param_fill()339 fmp->profile.trtcm_rfc2698.cir && in mlx5_flow_meter_param_fill()340 fmp->profile.trtcm_rfc2698.pbs > in mlx5_flow_meter_param_fill()341 fmp->profile.trtcm_rfc2698.cbs); in mlx5_flow_meter_param_fill()342 cir = fmp->profile.trtcm_rfc2698.cir; in mlx5_flow_meter_param_fill()343 cbs = fmp->profile.trtcm_rfc2698.cbs; in mlx5_flow_meter_param_fill()345 eir = fmp->profile.trtcm_rfc2698.pir; in mlx5_flow_meter_param_fill()[all …]
128 if (profile->trtcm_rfc2698.cir > mtr_capa.meter_rate_max) in nix_mtr_profile_validate()133 if (profile->trtcm_rfc2698.pir > mtr_capa.meter_rate_max) in nix_mtr_profile_validate()138 if (profile->trtcm_rfc2698.cbs > NIX_BPF_BURST_MAX) in nix_mtr_profile_validate()143 if (profile->trtcm_rfc2698.pbs > NIX_BPF_BURST_MAX) in nix_mtr_profile_validate()1060 cfg->algo2698.cir = profile->profile.trtcm_rfc2698.cir * 8; in nix_mtr_config_map()1061 cfg->algo2698.pir = profile->profile.trtcm_rfc2698.pir * 8; in nix_mtr_config_map()1062 cfg->algo2698.cbs = profile->profile.trtcm_rfc2698.cbs; in nix_mtr_config_map()1063 cfg->algo2698.pbs = profile->profile.trtcm_rfc2698.pbs; in nix_mtr_config_map()
410 cmdline_fixed_string_t trtcm_rfc2698; member438 trtcm_rfc2698, "trtcm_rfc2698");485 mp.trtcm_rfc2698.cir = res->cir; in cmd_add_port_meter_profile_trtcm_parsed()486 mp.trtcm_rfc2698.pir = res->pir; in cmd_add_port_meter_profile_trtcm_parsed()487 mp.trtcm_rfc2698.cbs = res->cbs; in cmd_add_port_meter_profile_trtcm_parsed()488 mp.trtcm_rfc2698.pbs = res->pbs; in cmd_add_port_meter_profile_trtcm_parsed()
582 profile.trtcm.cir = mp_new->params.trtcm_rfc2698.cir; in pmd_mtr_meter_profile_update()583 profile.trtcm.pir = mp_new->params.trtcm_rfc2698.pir; in pmd_mtr_meter_profile_update()584 profile.trtcm.cbs = mp_new->params.trtcm_rfc2698.cbs; in pmd_mtr_meter_profile_update()585 profile.trtcm.pbs = mp_new->params.trtcm_rfc2698.pbs; in pmd_mtr_meter_profile_update()
1599 profile.trtcm.cir = mp->params.trtcm_rfc2698.cir; in flow_rule_action_get()1600 profile.trtcm.pir = mp->params.trtcm_rfc2698.pir; in flow_rule_action_get()1601 profile.trtcm.cbs = mp->params.trtcm_rfc2698.cbs; in flow_rule_action_get()1602 profile.trtcm.pbs = mp->params.trtcm_rfc2698.pbs; in flow_rule_action_get()
168 } trtcm_rfc2698; member
2764 testpmd> add port meter profile trtcm_rfc2698 (port_id) (profile_id) \