Home
last modified time | relevance | path

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

/linux/net/sched/
H A Dsch_cbs.c79 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()
294 cbs.idleslope = opt->idleslope; in cbs_enable_offload()
394 WRITE_ONCE(q->idleslope, qopt->idleslope * BYTES_PER_KBIT); in cbs_change()
465 opt.idleslope = div64_s64(READ_ONCE(q->idleslope), BYTES_PER_KBIT); in cbs_dump()
/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/Documentation/networking/device_drivers/ethernet/ti/
H A 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/include/net/
H A Dpkt_sched.h151 s32 idleslope; member
/linux/drivers/net/ethernet/realtek/rtase/
H A Drtase.h308 int idleslope; member
H A Drtase_main.c1681 u32 idle = tp->tx_qos[queue].idleslope * RTASE_1T_CLOCK; in rtase_set_hw_cbs()
1709 tp->tx_qos[queue].idleslope = 0; in rtase_setup_tc_cbs()
1716 tp->tx_qos[queue].idleslope = qopt->idleslope; in rtase_setup_tc_cbs()
/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.c580 cbs_value = DIV_ROUND_UP_ULL(ring->idleslope in igc_tsn_enable_offload()
H A Digc.h177 s32 idleslope; /* idleSlope in kbps */ member
H A Digc_main.c6641 bool enable, int idleslope, int sendslope, in igc_save_cbs_params() argument
6679 ring->idleslope = idleslope; in igc_save_cbs_params()
6700 qopt->idleslope, qopt->sendslope, in igc_tsn_enable_cbs()
/linux/include/uapi/linux/
H A Dpkt_sched.h964 __s32 idleslope; member
/linux/drivers/net/ethernet/intel/igb/
H A Digb.h340 s32 idleslope; /* idleSlope in kbps */ member
H A Digb_main.c1248 ring->idleslope = 0; in igb_alloc_q_vector()
1706 ring->idleslope = 1000000; in igb_config_tx_modes()
1775 value = DIV_ROUND_UP_ULL(ring->idleslope * 61034ULL, 1000000); in igb_config_tx_modes()
1841 ring->idleslope, ring->sendslope, in igb_config_tx_modes()
1860 bool enable, int idleslope, int sendslope, in igb_save_cbs_params() argument
1871 ring->idleslope = idleslope; in igb_save_cbs_params()
2601 qopt->idleslope, qopt->sendslope, in igb_offload_cbs()
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_main.c2203 port_transmit_rate_kbps = offload->idleslope - offload->sendslope; in sja1105_setup_tc_cbs()
2204 cbs->idle_slope = div_s64(offload->idleslope * BYTES_PER_KBIT, in sja1105_setup_tc_cbs()
/linux/drivers/net/ethernet/ti/
H A Dcpsw_priv.c957 bw = qopt->enable ? qopt->idleslope : 0; in cpsw_set_cbs()
/linux/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c1616 rate = DIV_ROUND_UP(cbs_qopt->idleslope, 100); in vsc9959_qos_port_cbs_set()
/linux/drivers/net/dsa/microchip/
H A Dksz_common.c4212 ret = cinc_cal(qopt->idleslope, qopt->sendslope, &bw); in ksz_setup_tc_cbs()