/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_cbs.c | 14 qopt->sendslope >= 0 || in lan966x_cbs_add() 20 cbs = (qopt->idleslope - qopt->sendslope) * in lan966x_cbs_add() 22 -qopt->sendslope; in lan966x_cbs_add()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_cbs.c | 28 * 'sendslope': 34 * sendslope = idleslope - port_transmit_rate 50 * locredit = max_frame_size * (sendslope / port_transmit_rate) 77 s64 sendslope; /* in bytes/s */ member 212 /* As sendslope is a negative number, this will decrease the in cbs_dequeue_soft() 215 credits = credits_from_len(len, q->sendslope, in cbs_dequeue_soft() 294 cbs.sendslope = opt->sendslope; in cbs_enable_offload() 394 q->sendslope = qopt->sendslope * BYTES_PER_KBI in cbs_change() [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_cbs.c | 28 * 'sendslope': 34 * sendslope = idleslope - port_transmit_rate 50 * locredit = max_frame_size * (sendslope / port_transmit_rate) 78 s64 sendslope; /* in bytes/s */ member 213 /* As sendslope is a negative number, this will decrease the in cbs_dequeue_soft() 216 credits = credits_from_len(len, q->sendslope, in cbs_dequeue_soft() 295 cbs.sendslope = opt->sendslope; in cbs_enable_offload() 395 q->sendslope = qopt->sendslope * BYTES_PER_KBI in cbs_change() [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | pkt_sched.h | 153 s32 sendslope; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | pkt_sched.h | 156 s32 sendslope; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_tc.c | 371 value = div_s64(-qopt->sendslope * 1024ll * ptr, speed_div); in tc_setup_cbs() 390 queue, qopt->sendslope, qopt->idleslope, in tc_setup_cbs()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/ |
H A D | igc.h | 123 s32 sendslope; /* sendSlope in kbps */ member
|
H A D | igc_main.c | 6346 bool enable, int idleslope, int sendslope, in igc_save_cbs_params() 6385 ring->sendslope = sendslope; in igc_save_cbs_params() 6405 qopt->idleslope, qopt->sendslope, in igc_tsn_enable_cbs() 6345 igc_save_cbs_params(struct igc_adapter *adapter, int queue, bool enable, int idleslope, int sendslope, int hicredit, int locredit) igc_save_cbs_params() argument
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | pkt_sched.h | 694 __s32 sendslope; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_tc.c | 404 value = div_s64(-qopt->sendslope * 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/intel/igb/ |
H A D | igb.h | 336 s32 sendslope; /* sendSlope in kbps */ member
|
H A D | igb_main.c | 1269 ring->sendslope = 0; in igb_alloc_q_vector() 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, int sendslope, in igb_save_cbs_params() 1893 ring->sendslope = sendslope; in igb_save_cbs_params() 2573 qopt->idleslope, qopt->sendslope, in igb_offload_cbs() 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
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | pkt_sched.h | 974 __s32 sendslope; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | pkt_sched.h | 1041 __s32 sendslope; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | pkt_sched.h | 1061 __s32 sendslope; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/ |
H A D | igb.h | 336 s32 sendslope; /* sendSlope in kbps */ member
|
H A D | igb_main.c | 1266 ring->sendslope = 0; in igb_alloc_q_vector() 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, int sendslope, in igb_save_cbs_params() 1890 ring->sendslope = sendslope; in igb_save_cbs_params() 2595 qopt->idleslope, qopt->sendslope, in igb_offload_cbs() 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
|
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | pkt_sched.h | 975 __s32 sendslope; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | pkt_sched.h | 772 __s32 sendslope; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | pkt_sched.h | 772 __s32 sendslope; member
|
/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()
|
/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()
|
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 2220 /* locredit and sendslope are negative by definition. In hardware, in sja1105_setup_tc_cbs() 2226 * link speed. Since the given offload->sendslope is good only for the in sja1105_setup_tc_cbs() 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() 2234 cbs->send_slope = div_s64(abs(offload->sendslope * BYTES_PER_KBIT), in sja1105_setup_tc_cbs()
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 1758 /* locredit and sendslope are negative by definition. In hardware, in sja1105_setup_tc_cbs() 1764 * link speed. Since the given offload->sendslope is good only for the in sja1105_setup_tc_cbs() 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() 1772 cbs->send_slope = div_s64(abs(offload->sendslope * BYTES_PER_KBIT), in sja1105_setup_tc_cbs()
|
/kernel/linux/linux-6.6/drivers/net/dsa/microchip/ |
H A D | ksz_common.c | 3196 ret = cinc_cal(qopt->idleslope, qopt->sendslope, &bw); in ksz_setup_tc_cbs()
|