Home
last modified time | relevance | path

Searched refs:replace_params (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_tbf.c25 cir = div_u64(qopt->replace_params.rate.rate_bytes_ps, 1000) * 8; in lan966x_tbf_add()
26 cbs = qopt->replace_params.max_size; in lan966x_tbf_add()
Dlan966x_ets.c32 params = &qopt->replace_params; in lan966x_ets_add()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_tc.c98 return sparx5_tc_tbf_add(port, &qopt->replace_params, layer, in sparx5_tc_setup_qdisc_tbf()
115 &qopt->replace_params; in sparx5_tc_setup_qdisc_ets()
/linux-6.6.21/net/sched/
Dsch_prio.c153 opt.replace_params.bands = qopt->bands; in prio_offload()
154 memcpy(&opt.replace_params.priomap, qopt->priomap, in prio_offload()
156 opt.replace_params.qstats = &sch->qstats; in prio_offload()
Dsch_ets.c124 qopt.replace_params.bands = q->nbands; in ets_offload_change()
125 qopt.replace_params.qstats = &sch->qstats; in ets_offload_change()
126 memcpy(&qopt.replace_params.priomap, in ets_offload_change()
139 qopt.replace_params.quanta[i] = quantum; in ets_offload_change()
140 qopt.replace_params.weights[i] = weight; in ets_offload_change()
Dsch_tbf.c154 qopt.replace_params.rate = q->rate; in tbf_offload_change()
155 qopt.replace_params.max_size = q->max_size; in tbf_offload_change()
156 qopt.replace_params.qstats = &sch->qstats; in tbf_offload_change()
/linux-6.6.21/include/net/
Dpkt_cls.h965 struct tc_prio_qopt_offload_params replace_params; member
1006 struct tc_ets_qopt_offload_replace_params replace_params; member
1030 struct tc_tbf_qopt_offload_replace_params replace_params; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c1097 &p->replace_params); in __mlxsw_sp_setup_tc_tbf()
1667 &p->replace_params); in __mlxsw_sp_setup_tc_prio()
1712 &p->replace_params); in __mlxsw_sp_setup_tc_ets()
/linux-6.6.21/drivers/net/dsa/microchip/
Dksz_common.c3402 ret = ksz_tc_ets_validate(dev, port, &qopt->replace_params); in ksz_tc_setup_qdisc_ets()
3406 return ksz_tc_ets_add(dev, port, &qopt->replace_params); in ksz_tc_setup_qdisc_ets()
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c2968 struct tc_tbf_qopt_offload_replace_params *cfg = &p->replace_params; in dpaa2_eth_setup_tbf()