Home
last modified time | relevance | path

Searched refs:idleslope (Results 1 – 12 of 12) 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/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/drivers/net/ethernet/intel/igb/
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/dsa/ocelot/
H A Dfelix_vsc9959.c1616 rate = DIV_ROUND_UP(cbs_qopt->idleslope, 100); in vsc9959_qos_port_cbs_set()