Home
last modified time | relevance | path

Searched refs:rate_pkt_ps (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/netronome/nfp/flower/
Dqos_conf.c241 if (action->police.rate_pkt_ps > 0) { in nfp_flower_install_rate_limiter()
261 } else if (action->police.rate_pkt_ps > 0) { in nfp_flower_install_rate_limiter()
262 rate = action->police.rate_pkt_ps; in nfp_flower_install_rate_limiter()
272 if (action->police.rate_pkt_ps > 0) in nfp_flower_install_rate_limiter()
655 meter_entry->rate = action->police.rate_pkt_ps; in nfp_flower_setup_meter_entry()
725 } else if (action->police.rate_pkt_ps > 0 && pps_support) { in nfp_act_install_actions()
726 rate = action->police.rate_pkt_ps; in nfp_act_install_actions()
740 if (action->police.rate_pkt_ps > 0) in nfp_act_install_actions()
/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c617 u64 rate_pkt_ps) in am65_cpsw_qos_clsflower_add_policer() argument
650 ret = cpsw_ale_rx_ratelimit_bc(port->common->ale, port->port_id, rate_pkt_ps); in am65_cpsw_qos_clsflower_add_policer()
655 qos->ale_bc_ratelimit.rate_packet_ps = rate_pkt_ps; in am65_cpsw_qos_clsflower_add_policer()
658 ret = cpsw_ale_rx_ratelimit_mc(port->common->ale, port->port_id, rate_pkt_ps); in am65_cpsw_qos_clsflower_add_policer()
663 qos->ale_mc_ratelimit.rate_packet_ps = rate_pkt_ps; in am65_cpsw_qos_clsflower_add_policer()
722 act->police.rate_pkt_ps); in am65_cpsw_qos_configure_clsflower()
Dcpsw_priv.c1389 u64 rate_pkt_ps) in cpsw_qos_clsflower_add_policer() argument
1424 ret = cpsw_ale_rx_ratelimit_bc(priv->cpsw->ale, port_id, rate_pkt_ps); in cpsw_qos_clsflower_add_policer()
1429 priv->ale_bc_ratelimit.rate_packet_ps = rate_pkt_ps; in cpsw_qos_clsflower_add_policer()
1432 ret = cpsw_ale_rx_ratelimit_mc(priv->cpsw->ale, port_id, rate_pkt_ps); in cpsw_qos_clsflower_add_policer()
1437 priv->ale_mc_ratelimit.rate_packet_ps = rate_pkt_ps; in cpsw_qos_clsflower_add_policer()
1495 act->police.rate_pkt_ps); in cpsw_qos_configure_clsflower()
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dpolice.c65 } else if (act->police.rate_pkt_ps) { in fill_meter_params_from_act()
67 params->rate = act->police.rate_pkt_ps; in fill_meter_params_from_act()
/drivers/net/ethernet/mscc/
Docelot_police.c192 if (a->police.rate_pkt_ps) { in ocelot_policer_validate()
/drivers/net/ethernet/microchip/lan966x/
Dlan966x_police.c105 if (act->police.rate_pkt_ps) { in lan966x_police_validate()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_tc.c253 if (entry->police.rate_pkt_ps) { in otx2_tc_egress_matchall_install()
422 } else if (act->police.rate_pkt_ps > 0) { in otx2_tc_parse_actions()
428 rate = act->police.rate_pkt_ps * 8; in otx2_tc_parse_actions()
/drivers/net/dsa/sja1105/
Dsja1105_flower.c334 if (act->police.rate_pkt_ps) { in sja1105_policer_validate()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_matchall.c42 if (act->police.rate_pkt_ps) { in cxgb4_policer_validate()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c49 if (act->police.rate_pkt_ps) { in mlxsw_sp_policer_validate()
/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1116 if (act->police.rate_pkt_ps) { in enetc_psfp_policer_validate()