/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_actions.h | 29 int (*policer_add)(void *priv, u64 rate_bytes_ps, u32 burst, 98 u32 fa_index, u64 rate_bytes_ps, u32 burst,
|
D | spectrum_acl_flex_actions.c | 172 static int mlxsw_sp_act_policer_add(void *priv, u64 rate_bytes_ps, u32 burst, in mlxsw_sp_act_policer_add() argument 179 params.rate = rate_bytes_ps; in mlxsw_sp_act_policer_add()
|
D | core_acl_flex_actions.c | 869 u64 rate_bytes_ps, u32 burst, in mlxsw_afa_policer_create() argument 879 err = mlxsw_afa->ops->policer_add(mlxsw_afa->ops_priv, rate_bytes_ps, in mlxsw_afa_policer_create() 918 u64 rate_bytes_ps, u32 burst, in mlxsw_afa_policer_get() argument 930 return mlxsw_afa_policer_create(mlxsw_afa, fa_index, rate_bytes_ps, in mlxsw_afa_policer_get() 969 u64 rate_bytes_ps, u32 burst, in mlxsw_afa_policer_ref_create() argument 980 policer = mlxsw_afa_policer_get(block->afa, fa_index, rate_bytes_ps, in mlxsw_afa_policer_ref_create() 1809 u32 fa_index, u64 rate_bytes_ps, u32 burst, in mlxsw_afa_block_append_police() argument 1818 rate_bytes_ps, in mlxsw_afa_block_append_police()
|
D | spectrum_policer.c | 54 static u64 mlxsw_sp_policer_rate_bytes_ps_kbps(u64 rate_bytes_ps) in mlxsw_sp_policer_rate_bytes_ps_kbps() argument 56 return div_u64(rate_bytes_ps, 1000) * BITS_PER_BYTE; in mlxsw_sp_policer_rate_bytes_ps_kbps()
|
D | spectrum_acl.c | 654 u32 index, u64 rate_bytes_ps, in mlxsw_sp_acl_rulei_act_police() argument 660 rate_bytes_ps, burst, in mlxsw_sp_acl_rulei_act_police()
|
D | spectrum_flower.c | 207 act->police.rate_bytes_ps, in mlxsw_sp_flower_parse_actions()
|
D | spectrum.h | 977 u32 index, u64 rate_bytes_ps,
|
D | spectrum_qdisc.c | 791 return div_u64(p->rate.rate_bytes_ps, 1000) * 8; in mlxsw_sp_qdisc_tbf_rate_kbps()
|
/drivers/net/ethernet/netronome/nfp/flower/ |
D | qos_conf.c | 135 if (action->police.rate_bytes_ps > 0) { in nfp_flower_install_rate_limiter() 159 if (action->police.rate_bytes_ps > 0) { in nfp_flower_install_rate_limiter() 160 rate = action->police.rate_bytes_ps; in nfp_flower_install_rate_limiter()
|
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_tc.c | 254 rate = entry->police.rate_bytes_ps * 8; in otx2_tc_egress_matchall_install() 392 if (act->police.rate_bytes_ps > 0) { in otx2_tc_parse_actions() 393 rate = act->police.rate_bytes_ps * 8; in otx2_tc_parse_actions() 944 rate = entry->police.rate_bytes_ps * 8; in otx2_tc_ingress_matchall_install()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_matchall.c | 57 if (entry->police.rate_bytes_ps * 8 > max_link_rate) { in cxgb4_matchall_egress_validate() 159 p.u.params.maxrate = div_u64(entry->police.rate_bytes_ps * 8, 1000); in cxgb4_matchall_alloc_tc()
|
/drivers/net/dsa/sja1105/ |
D | sja1105_flower.c | 333 act->police.rate_bytes_ps, in sja1105_cls_flower_add()
|
/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 244 rate = a->police.rate_bytes_ps; in ocelot_flower_parse_action()
|
D | ocelot_net.c | 266 pol.rate = (u32)div_u64(action->police.rate_bytes_ps, 1000) * 8; in ocelot_setup_tc_cls_matchall()
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc_qos.c | 1250 fmi->cir = entryp->police.rate_bytes_ps; in enetc_psfp_parse_clsflower()
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 2564 tx_cr_shaper.rate_limit = bps_to_mbits(cfg->rate.rate_bytes_ps); in dpaa2_eth_setup_tbf()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 4840 err = apply_police_params(priv, act->police.rate_bytes_ps, extack); in scan_tc_matchall_fdb_actions()
|