CBS(8) Linux CBS(8) (NAME) tc-cbs - (CBS) (SYNOPSIS) tc qdisc ... dev dev parent classid [ handle major: ] cbs idleslope idleslope sendslope sendslope hicredit hicredit locredit locredit [ offload 0|1 ] (DESCRIPTION) CBS ( Credit Based Shaper ) 8.6.8.2 IEEE 802.1Q-2014 . TSN ( Time Sensitive Networking) CBS L IEEE 802.1Q-2014 . (latency) . CBS (qdisc) mqprio(8) . (PARAMETERS) idleslope ( ) . . . CBS . idleslope ( MAC ) 34.4 IEEE 802.1Q-2014 . (payload) VLAN (CRC) ( preamble ) . idleslope . sendslope ( ) . IEEE 802.1Q-2014 8.6.8.2 g : sendslope = idleslope - port_transmit_rate hicredit ( ) . hicredit max_interference_size (burst) ( IEEE 802.1Q-2014 L L-3): hicredit = max_interference_size * (idleslope / port_transmit_rate) locredit . ( IEEE 802.1Q-2014 L L-2): locredit = max_frame_size * (sendslope / port_transmit_rate) offload offload 1 cbs(8) CBS . 0 . (EXAMPLES) CBS (QoS) . mqprio(8) : # tc qdisc add dev eth0 handle 100: parent root mqprio num_tc 3 \ map 2 2 1 0 2 2 2 2 2 2 2 2 2 2 2 2 \ queues 1@0 1@1 2@2 \ hw 0 CBS 0 : # tc qdisc replace dev eth0 parent 100:4 cbs \ locredit -1470 hicredit 30 sendslope -980000 idleslope 20000 : idleslope 20mbit/s 1Gbit/s . (AUTHORS) Vinicius Costa Gomes iproute2 18 Sept 2017 CBS(8)