Home
last modified time | relevance | path

Searched refs:idleslope (Results 1 – 14 of 14) 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/realtek/rtase/
H A Drtase.h318 int idleslope; member
H A Drtase_main.c1887 u32 idle = tp->tx_qos[queue].idleslope * RTASE_1T_CLOCK; in rtase_set_hw_cbs()
1915 tp->tx_qos[queue].idleslope = 0; in rtase_setup_tc_cbs()
1922 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.h178 s32 idleslope; /* idleSlope in kbps */ member
H A Digc_tsn.c589 cbs_value = DIV_ROUND_UP_ULL(ring->idleslope in igc_tsn_enable_offload()
/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/ethernet/ti/
H A Dcpsw_priv.c981 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.c3083 ret = cinc_cal(qopt->idleslope, qopt->sendslope, &bw); in ksz_setup_tc_cbs()