]> git.ipfire.org Git - thirdparty/iproute2.git/commit
tc: Add support for the CBS qdisc
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Thu, 26 Oct 2017 17:17:48 +0000 (10:17 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 1 Nov 2017 21:22:48 +0000 (22:22 +0100)
commitc9681ac1b3e0cd7b8e8b8cba17ac7090775ca647
tree81048ea472684f839fa02c6531ab9ec868517b3b
parente1ac5b06f26d141b82f54d0edc92cd844d41188e
tc: Add support for the CBS qdisc

The Credit Based Shaper (CBS) queueing discipline allows bandwidth
reservation with sub-milisecond precision. It is defined by the
802.1Q-2014 specification (section 8.6.8.2 and Annex L).

The syntax is:

tc qdisc add dev DEV parent NODE cbs locredit <LOCREDIT>
    hicredit <HICREDIT> sendslope <SENDSLOPE>
idleslope <IDLESLOPE>

(The order is not important)

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
tc/Makefile
tc/q_cbs.c [new file with mode: 0644]