| /dpdk/lib/pdump/ |
| H A D | rte_pdump.c | 97 if (cbs->filter) in pdump_copy() 101 ring = cbs->ring; in pdump_copy() 102 mp = cbs->mp; in pdump_copy() 183 if (cbs->cb) { in pdump_register_rx_callbacks() 189 cbs->ver = ver; in pdump_register_rx_callbacks() 191 cbs->mp = mp; in pdump_register_rx_callbacks() 219 cbs->cb = NULL; in pdump_register_rx_callbacks() 241 if (cbs->cb) { in pdump_register_tx_callbacks() 247 cbs->ver = ver; in pdump_register_tx_callbacks() 249 cbs->mp = mp; in pdump_register_tx_callbacks() [all …]
|
| /dpdk/lib/meter/ |
| H A D | rte_meter.c | 51 ((params->cbs == 0) && (params->ebs == 0))) in rte_meter_srtcm_profile_config() 55 p->cbs = params->cbs; in rte_meter_srtcm_profile_config() 73 m->tc = p->cbs; in rte_meter_srtcm_config() 91 (params->cbs == 0) || in rte_meter_trtcm_profile_config() 96 p->cbs = params->cbs; in rte_meter_trtcm_profile_config() 116 m->tc = p->cbs; in rte_meter_trtcm_config() 132 (params->cir != 0 && params->cbs == 0) || in rte_meter_trtcm_rfc4115_profile_config() 137 p->cbs = params->cbs; in rte_meter_trtcm_rfc4115_profile_config() 158 m->tc = p->cbs; in rte_meter_trtcm_rfc4115_config()
|
| H A D | rte_meter.h | 336 uint64_t cbs; member 354 uint64_t cbs; member 384 uint64_t cbs; member 433 tc = p->cbs; in rte_meter_srtcm_color_blind_check() 475 tc = p->cbs; in rte_meter_srtcm_color_aware_check() 513 if (tc > p->cbs) in rte_meter_trtcm_color_blind_check() 514 tc = p->cbs; in rte_meter_trtcm_color_blind_check() 556 if (tc > p->cbs) in rte_meter_trtcm_color_aware_check() 557 tc = p->cbs; in rte_meter_trtcm_color_aware_check() 600 tc = p->cbs; in rte_meter_trtcm_rfc4115_color_blind_check() [all …]
|
| /dpdk/lib/latencystats/ |
| H A D | rte_latencystats.c | 217 struct rxtx_cbs *cbs = NULL; in rte_latencystats_init() local 274 cbs = &rx_cbs[pid][qid]; in rte_latencystats_init() 275 cbs->cb = rte_eth_add_first_rx_callback(pid, qid, in rte_latencystats_init() 277 if (!cbs->cb) in rte_latencystats_init() 283 cbs = &tx_cbs[pid][qid]; in rte_latencystats_init() 284 cbs->cb = rte_eth_add_tx_callback(pid, qid, in rte_latencystats_init() 286 if (!cbs->cb) in rte_latencystats_init() 301 struct rxtx_cbs *cbs = NULL; in rte_latencystats_uninit() local 318 cbs = &rx_cbs[pid][qid]; in rte_latencystats_uninit() 319 ret = rte_eth_remove_rx_callback(pid, qid, cbs->cb); in rte_latencystats_uninit() [all …]
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_meter.c | 138 uint64_t cir, cbs; in mlx5_flow_meter_profile_validate() local 185 cbs = profile->srtcm_rfc2697.cbs << ls_factor; in mlx5_flow_meter_profile_validate() 189 cbs > 0 && cbs <= MLX5_SRTCM_XBS_MAX && in mlx5_flow_meter_profile_validate() 200 cbs = profile->trtcm_rfc2698.cbs << ls_factor; in mlx5_flow_meter_profile_validate() 204 cbs > 0 && cbs <= MLX5_SRTCM_XBS_MAX && in mlx5_flow_meter_profile_validate() 216 cbs = profile->trtcm_rfc4115.cbs << ls_factor; in mlx5_flow_meter_profile_validate() 220 cbs > 0 && cbs <= MLX5_SRTCM_XBS_MAX && in mlx5_flow_meter_profile_validate() 328 uint64_t cir, cbs, eir, ebs; in mlx5_flow_meter_param_fill() local 333 cbs = fmp->profile.srtcm_rfc2697.cbs; in mlx5_flow_meter_param_fill() 343 cbs = fmp->profile.trtcm_rfc2698.cbs; in mlx5_flow_meter_param_fill() [all …]
|
| /dpdk/app/test/ |
| H A D | test_meter.c | 42 .cbs = TM_TEST_SRTCM_CBS_DF, 48 .cbs = TM_TEST_TRTCM_CBS_DF, 54 .cbs = TM_TEST_TRTCM_CBS_DF, 77 sparams1.cbs = 0; in tm_test_srtcm_config() 95 sparams1.cbs = 0; in tm_test_srtcm_config() 132 tparams1.cbs = 0; in tm_test_trtcm_config() 182 rfc4115params1.cbs = 0; in tm_test_trtcm_rfc4115_config()
|
| /dpdk/app/test-pmd/ |
| H A D | cmdline_mtr.c | 306 uint64_t cbs; member 345 cbs, RTE_UINT64); 373 mp.srtcm_rfc2697.cbs = res->cbs; in cmd_add_port_meter_profile_srtcm_parsed() 415 uint64_t cbs; member 458 cbs, RTE_UINT64); 487 mp.trtcm_rfc2698.cbs = res->cbs; in cmd_add_port_meter_profile_trtcm_parsed() 530 uint64_t cbs; member 575 cbs, RTE_UINT64); 607 mp.trtcm_rfc4115.cbs = res->cbs; in cmd_add_port_meter_profile_trtcm_rfc4115_parsed()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_mtr.h | 143 uint64_t cbs; member 164 uint64_t cbs; member 185 uint64_t cbs; member
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_ethdev_mtr.c | 116 if (profile->srtcm_rfc2697.cbs > NIX_BPF_BURST_MAX) in nix_mtr_profile_validate() 138 if (profile->trtcm_rfc2698.cbs > NIX_BPF_BURST_MAX) in nix_mtr_profile_validate() 156 if (profile->trtcm_rfc4115.cbs > NIX_BPF_BURST_MAX) in nix_mtr_profile_validate() 1056 cfg->algo2697.cbs = profile->profile.srtcm_rfc2697.cbs; in nix_mtr_config_map() 1062 cfg->algo2698.cbs = profile->profile.trtcm_rfc2698.cbs; in nix_mtr_config_map() 1068 cfg->algo4115.cbs = profile->profile.trtcm_rfc4115.cbs; in nix_mtr_config_map()
|
| /dpdk/examples/pipeline/examples/ |
| H A D | meter.cli | 28 pipeline PIPELINE0 meter profile platinum add cir 46000000 pir 138000000 cbs 1000000 pbs 1000000
|
| /dpdk/drivers/net/mvpp2/ |
| H A D | mrvl_tm.c | 881 priv->ppio_params.rate_limit_params.cbs = in mrvl_hierarchy_commit() 913 p->rate_limit_params.cbs = in mrvl_hierarchy_commit() 918 p->rate_limit_params.cbs = 0; in mrvl_hierarchy_commit() 934 p->rate_limit_params.cbs = 0; in mrvl_hierarchy_commit()
|
| H A D | mrvl_mtr.c | 245 params.cbs = mtr->profile->profile.srtcm_rfc2697.cbs; in mrvl_meter_enable()
|
| H A D | mrvl_qos.c | 175 cfg->port[port].outq[outq].rate_limit_params.cbs = val; in get_outq_cfg() 460 cfg->port[port].policer_params.cbs = val; in parse_policer() 792 (*cfg)->port[n].rate_limit_params.cbs = val; in mrvl_get_cfg()
|
| /dpdk/examples/qos_meter/ |
| H A D | main.c | 91 .cbs = 2048, 100 .cbs = 2048,
|
| /dpdk/doc/guides/sample_app_ug/ |
| H A D | ip_pipeline.rst | 527 add srtcm cir <cir> cbs <cbs> ebs <ebs> 528 | trtcm cir <cir> pir <pir> cbs <cbs> pbs <pbs>
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix.h | 101 uint64_t cbs; member 109 uint64_t cbs; member 117 uint64_t cbs; member
|
| H A D | roc_nix_bpf.c | 558 meter_burst_to_nix(cfg->algo2697.cbs, &exponent_p, &mantissa_p); in roc_nix_bpf_config() 585 meter_burst_to_nix(cfg->algo2698.cbs, &exponent_p, &mantissa_p); in roc_nix_bpf_config() 614 meter_burst_to_nix(cfg->algo4115.cbs, &exponent_p, &mantissa_p); in roc_nix_bpf_config()
|
| /dpdk/doc/guides/nics/ |
| H A D | mvpp2.rst | 209 cbs = <cbs> 294 - ``<cbs>``: Committed burst size in unit of kilo bytes or number of packets. 324 cbs = 64
|
| /dpdk/drivers/net/dpaa2/mc/ |
| H A D | fsl_dpni_cmd.h | 645 uint32_t cbs; member 663 uint32_t cbs; member
|
| H A D | dpni.c | 2028 cmd_params->cbs = cpu_to_le32(cfg->cbs); in dpni_set_rx_tc_policing() 2074 cfg->cbs = le32_to_cpu(rsp_params->cbs); in dpni_get_rx_tc_policing()
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_meter.c | 584 profile.trtcm.cbs = mp_new->params.trtcm_rfc2698.cbs; in pmd_mtr_meter_profile_update()
|
| H A D | rte_eth_softnic_flow.c | 1601 profile.trtcm.cbs = mp->params.trtcm_rfc2698.cbs; in flow_rule_action_get()
|
| /dpdk/drivers/net/i40e/base/ |
| H A D | i40e_dcb.c | 56 etscfg->cbs = (u8)((buf[offset] & I40E_IEEE_ETS_CBS_MASK) >> in i40e_parse_ieee_etscfg_tlv() 293 etscfg->cbs = 0; in i40e_parse_cee_pgcfg_tlv()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_dcb.c | 226 etscfg->cbs = ((buf[0] & ICE_IEEE_ETS_CBS_M) >> ICE_IEEE_ETS_CBS_S); in ice_parse_ieee_etscfg_tlv() 390 etscfg->cbs = 0; in ice_parse_cee_pgcfg_tlv()
|
| /dpdk/drivers/net/hinic/base/ |
| H A D | hinic_pmd_niccfg.h | 617 u32 cbs; /* Committed Burst Size */ member
|