Home
last modified time | relevance | path

Searched refs:idleslope (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_cbs.c13 if (qopt->idleslope <= 0 || in lan966x_cbs_add()
19 cir = qopt->idleslope; in lan966x_cbs_add()
20 cbs = (qopt->idleslope - qopt->sendslope) * in lan966x_cbs_add()
/linux/net/sched/
H A Dsch_cbs.c20 * 'idleslope': Idleslope is the rate of credits that is
34 * sendslope = idleslope - port_transmit_rate
44 * hicredit = max_interference_size * (idleslope / port_transmit_rate)
79 s64 idleslope; /* in bytes/s */ member
191 credits = timediff_to_credits(now - q->last, q->idleslope); in cbs_dequeue_soft()
199 delay = delay_from_credits(q->credits, q->idleslope); in cbs_dequeue_soft()
308 cbs.idleslope = opt->idleslope; in cbs_enable_offload()
408 WRITE_ONCE(q->idleslope, qopt->idleslope * BYTES_PER_KBI in cbs_change()
[all...]
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_tc.c349 port_transmit_rate_kbps = qopt->idleslope - qopt->sendslope; in tc_setup_cbs()
393 value = div_s64(qopt->idleslope * 1024ll * ptr, port_transmit_rate_kbps); in tc_setup_cbs()
415 queue, qopt->sendslope, qopt->idleslope, in tc_setup_cbs()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c274 if (cbs->idleslope - cbs->sendslope != port_transmit_rate * 1000L || in enetc_setup_tc_cbs()
275 cbs->idleslope < 0 || cbs->sendslope > 0) in enetc_setup_tc_cbs()
280 bw = cbs->idleslope / (port_transmit_rate * 10UL); in enetc_setup_tc_cbs()
/linux/tools/include/uapi/linux/
H A Dpkt_sched.h865 __s32 idleslope; member
/linux/drivers/net/ethernet/intel/igc/
H A Digc_tsn.c587 cbs_value = DIV_ROUND_UP_ULL(ring->idleslope in igc_tsn_enable_offload()
/linux/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c1616 rate = DIV_ROUND_UP(cbs_qopt->idleslope, 100); in vsc9959_qos_port_cbs_set()