Home
last modified time | relevance | path

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

/Linux-v5.10/net/sched/
Dsch_cbs.c78 s64 idleslope; /* in bytes/s */ member
190 credits = timediff_to_credits(now - q->last, q->idleslope); in cbs_dequeue_soft()
198 delay = delay_from_credits(q->credits, q->idleslope); in cbs_dequeue_soft()
293 cbs.idleslope = opt->idleslope; in cbs_enable_offload()
393 q->idleslope = qopt->idleslope * BYTES_PER_KBIT; in cbs_change()
464 opt.idleslope = div64_s64(q->idleslope, BYTES_PER_KBIT); in cbs_dump()
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/ti/
Dcpsw.rst233 hicredit 62 sendslope -959000 idleslope 41000 offload 1
241 hicredit 65 sendslope -979000 idleslope 21000 offload 1
455 hicredit 62 sendslope -959000 idleslope 41000 offload 1
462 hicredit 65 sendslope -979000 idleslope 21000 offload 1
515 hicredit 465 sendslope -69000 idleslope 31000 offload 1
523 hicredit 405 sendslope -89000 idleslope 11000 offload 1
/Linux-v5.10/include/net/
Dpkt_sched.h154 s32 idleslope; member
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c341 value = div_s64(qopt->idleslope * 1024ll * ptr, speed_div); in tc_setup_cbs()
363 queue, qopt->sendslope, qopt->idleslope, in tc_setup_cbs()
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c219 if (cbs->idleslope - cbs->sendslope != port_transmit_rate * 1000L || in enetc_setup_tc_cbs()
220 cbs->idleslope < 0 || cbs->sendslope > 0) in enetc_setup_tc_cbs()
225 bw = cbs->idleslope / (port_transmit_rate * 10UL); in enetc_setup_tc_cbs()
/Linux-v5.10/tools/include/uapi/linux/
Dpkt_sched.h973 __s32 idleslope; member
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb.h335 s32 idleslope; /* idleSlope in kbps */ member
Digb_main.c1257 ring->idleslope = 0; in igb_alloc_q_vector()
1715 ring->idleslope = 1000000; in igb_config_tx_modes()
1784 value = DIV_ROUND_UP_ULL(ring->idleslope * 61034ULL, 1000000); in igb_config_tx_modes()
1850 ring->idleslope, ring->sendslope, in igb_config_tx_modes()
1869 bool enable, int idleslope, int sendslope, in igb_save_cbs_params() argument
1880 ring->idleslope = idleslope; in igb_save_cbs_params()
2561 qopt->idleslope, qopt->sendslope, in igb_offload_cbs()
/Linux-v5.10/include/uapi/linux/
Dpkt_sched.h1038 __s32 idleslope; member
/Linux-v5.10/drivers/net/dsa/ocelot/
Dfelix_vsc9959.c1284 rate = DIV_ROUND_UP(cbs_qopt->idleslope, 100); in vsc9959_qos_port_cbs_set()
/Linux-v5.10/drivers/net/ethernet/ti/
Dcpsw_priv.c977 bw = qopt->enable ? qopt->idleslope : 0; in cpsw_set_cbs()
/Linux-v5.10/drivers/net/dsa/sja1105/
Dsja1105_main.c1697 cbs->idle_slope = offload->idleslope * BYTES_PER_KBIT; in sja1105_setup_tc_cbs()