]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: Introduce Credit Based Shaper (CBS) qdisc
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Tue, 17 Oct 2017 01:01:26 +0000 (18:01 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 27 Oct 2017 16:48:02 +0000 (09:48 -0700)
commit92c6bd6c8cc7fb914940e28653d441c7d7775ec1
treead8b09f581d51c80e4f6195f6d2a3eca6e83c5da
parentec1f78ac9e7251e566c7cab5209b56fab80e77f8
net/sched: Introduce Credit Based Shaper (CBS) qdisc

This queueing discipline implements the shaper algorithm defined by
the 802.1Q-2014 Section 8.6.8.2 and detailed in Annex L.

It's primary usage is to apply some bandwidth reservation to user
defined traffic classes, which are mapped to different queues via the
mqprio qdisc.

Only a simple software implementation is added for now.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: Jesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
Tested-by: Henrik Austad <henrik@austad.us>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
include/uapi/linux/pkt_sched.h
net/sched/Kconfig
net/sched/Makefile
net/sched/sch_cbs.c [new file with mode: 0644]