/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_cbs.c | 13 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()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_cbs.c | 20 * 'idleslope': Idleslope is the rate of credits that is 34 * sendslope = idleslope - port_transmit_rate 44 * hicredit = max_interference_size * (idleslope / port_transmit_rate) 78 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_KBI in cbs_change() [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_cbs.c | 20 * '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() 294 cbs.idleslope = opt->idleslope; in cbs_enable_offload() 394 q->idleslope = qopt->idleslope * BYTES_PER_KBI in cbs_change() [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | pkt_sched.h | 152 s32 idleslope; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | pkt_sched.h | 155 s32 idleslope; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/ |
H A D | igc_tsn.c | 209 * that idleslope is represented in in igc_tsn_enable_offload() 213 * idleslope increments. in igc_tsn_enable_offload() 221 cbs_value = DIV_ROUND_UP_ULL(ring->idleslope in igc_tsn_enable_offload()
|
H A D | igc.h | 122 s32 idleslope; /* idleSlope in kbps */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_tc.c | 368 value = div_s64(qopt->idleslope * 1024ll * ptr, speed_div); in tc_setup_cbs() 390 queue, qopt->sendslope, qopt->idleslope, in tc_setup_cbs()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | pkt_sched.h | 693 __s32 idleslope; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_tc.c | 401 value = div_s64(qopt->idleslope * 1024ll * ptr, speed_div); in tc_setup_cbs() 423 queue, qopt->sendslope, qopt->idleslope, in tc_setup_cbs()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_qos.c | 224 if (cbs->idleslope - cbs->sendslope != port_transmit_rate * 1000L || in enetc_setup_tc_cbs() 225 cbs->idleslope < 0 || cbs->sendslope > 0) in enetc_setup_tc_cbs() 230 bw = cbs->idleslope / (port_transmit_rate * 10UL); in enetc_setup_tc_cbs()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_qos.c | 274 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
H A D | igb.h | 335 s32 idleslope; /* idleSlope in kbps */ member
|
H A D | igb_main.c | 1268 ring->idleslope = 0; in igb_alloc_q_vector() 1726 /* max "linkspeed" idleslope in kbps */ in igb_config_tx_modes() 1727 ring->idleslope = 1000000; in igb_config_tx_modes() 1782 * NOTE: For i210, given the above, we can see that idleslope in igb_config_tx_modes() 1785 * the granularity for idleslope increments. in igb_config_tx_modes() 1787 * idleslope, the value to be written on the register in igb_config_tx_modes() 1796 value = DIV_ROUND_UP_ULL(ring->idleslope * 61034ULL, 1000000); in igb_config_tx_modes() 1858 netdev_dbg(netdev, "Qav Tx mode: cbs %s, launchtime %s, queue %d idleslope %d sendslope %d hiCredit %d locredit %d\n", in igb_config_tx_modes() 1862 ring->idleslope, ring->sendslope, in igb_config_tx_modes() 1881 bool enable, int idleslope, in in igb_save_cbs_params() 1880 igb_save_cbs_params(struct igb_adapter *adapter, int queue, bool enable, int idleslope, int sendslope, int hicredit, int locredit) igb_save_cbs_params() argument [all...] |
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | pkt_sched.h | 973 __s32 idleslope; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | pkt_sched.h | 1040 __s32 idleslope; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | pkt_sched.h | 1060 __s32 idleslope; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/ |
H A D | igb.h | 335 s32 idleslope; /* idleSlope in kbps */ member
|
H A D | igb_main.c | 1265 ring->idleslope = 0; in igb_alloc_q_vector() 1723 /* max "linkspeed" idleslope in kbps */ in igb_config_tx_modes() 1724 ring->idleslope = 1000000; in igb_config_tx_modes() 1779 * NOTE: For i210, given the above, we can see that idleslope in igb_config_tx_modes() 1782 * the granularity for idleslope increments. in igb_config_tx_modes() 1784 * idleslope, the value to be written on the register in igb_config_tx_modes() 1793 value = DIV_ROUND_UP_ULL(ring->idleslope * 61034ULL, 1000000); in igb_config_tx_modes() 1855 netdev_dbg(netdev, "Qav Tx mode: cbs %s, launchtime %s, queue %d idleslope %d sendslope %d hiCredit %d locredit %d\n", in igb_config_tx_modes() 1859 ring->idleslope, ring->sendslope, in igb_config_tx_modes() 1878 bool enable, int idleslope, in in igb_save_cbs_params() 1877 igb_save_cbs_params(struct igb_adapter *adapter, int queue, bool enable, int idleslope, int sendslope, int hicredit, int locredit) igb_save_cbs_params() argument [all...] |
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | pkt_sched.h | 974 __s32 idleslope; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | pkt_sched.h | 771 __s32 idleslope; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | pkt_sched.h | 771 __s32 idleslope; member
|
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 2229 * but deduce the port transmit rate from idleslope - sendslope. in sja1105_setup_tc_cbs() 2231 port_transmit_rate_kbps = offload->idleslope - offload->sendslope; in sja1105_setup_tc_cbs() 2232 cbs->idle_slope = div_s64(offload->idleslope * BYTES_PER_KBIT, in sja1105_setup_tc_cbs()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
H A D | cpsw_priv.c | 977 bw = qopt->enable ? qopt->idleslope : 0; in cpsw_set_cbs()
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 1767 * but deduce the port transmit rate from idleslope - sendslope. in sja1105_setup_tc_cbs() 1769 port_transmit_rate_kbps = offload->idleslope - offload->sendslope; in sja1105_setup_tc_cbs() 1770 cbs->idle_slope = div_s64(offload->idleslope * BYTES_PER_KBIT, in sja1105_setup_tc_cbs()
|