Home
last modified time | relevance | path

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

/linux-6.12.1/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()
/linux-6.12.1/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()
/linux-6.12.1/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c1003 u64 rate_pkt_ps) in am65_cpsw_qos_clsflower_add_policer() argument
1039 ret = cpsw_ale_rx_ratelimit_bc(port->common->ale, port->port_id, rate_pkt_ps); in am65_cpsw_qos_clsflower_add_policer()
1044 qos->ale_bc_ratelimit.rate_packet_ps = rate_pkt_ps; in am65_cpsw_qos_clsflower_add_policer()
1047 ret = cpsw_ale_rx_ratelimit_mc(port->common->ale, port->port_id, rate_pkt_ps); in am65_cpsw_qos_clsflower_add_policer()
1052 qos->ale_mc_ratelimit.rate_packet_ps = rate_pkt_ps; in am65_cpsw_qos_clsflower_add_policer()
1111 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
1427 ret = cpsw_ale_rx_ratelimit_bc(priv->cpsw->ale, port_id, rate_pkt_ps); in cpsw_qos_clsflower_add_policer()
1432 priv->ale_bc_ratelimit.rate_packet_ps = rate_pkt_ps; in cpsw_qos_clsflower_add_policer()
1435 ret = cpsw_ale_rx_ratelimit_mc(priv->cpsw->ale, port_id, rate_pkt_ps); in cpsw_qos_clsflower_add_policer()
1440 priv->ale_mc_ratelimit.rate_packet_ps = rate_pkt_ps; in cpsw_qos_clsflower_add_policer()
1498 act->police.rate_pkt_ps); in cpsw_qos_configure_clsflower()
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_police.c105 if (act->police.rate_pkt_ps) { in lan966x_police_validate()
/linux-6.12.1/drivers/net/ethernet/mscc/
Docelot_police.c192 if (a->police.rate_pkt_ps) { in ocelot_policer_validate()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_tc.c258 if (entry->police.rate_pkt_ps) { in otx2_tc_egress_matchall_install()
501 } else if (act->police.rate_pkt_ps > 0) { in otx2_tc_parse_actions()
507 rate = act->police.rate_pkt_ps * 8; in otx2_tc_parse_actions()
/linux-6.12.1/include/net/
Dflow_offload.h285 u64 rate_pkt_ps; member
/linux-6.12.1/drivers/net/dsa/sja1105/
Dsja1105_flower.c337 if (act->police.rate_pkt_ps) { in sja1105_policer_validate()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_matchall.c42 if (act->police.rate_pkt_ps) { in cxgb4_policer_validate()
/linux-6.12.1/net/sched/
Dact_police.c459 entry->police.rate_pkt_ps = in tcf_police_offload_act_setup()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c49 if (act->police.rate_pkt_ps) { in mlxsw_sp_policer_validate()
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1116 if (act->police.rate_pkt_ps) { in enetc_psfp_policer_validate()