sch_cake: add RFC 8622 LE PHB support to CAKE diffserv handling
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Thu, 25 Jun 2020 20:18:00 +0000 (22:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 23:31:35 +0000 (16:31 -0700)
commitb8392808eb3fc28e523e28cb258c81ca246deb9b
tree37edd9695b34a533ee193354f7670e64555f3bb6
parent7d22bc4530e598899f73e0ab8acc2f6b9a804572
sch_cake: add RFC 8622 LE PHB support to CAKE diffserv handling

Change tin mapping on diffserv3, 4 & 8 for LE PHB support, in essence
making LE a member of the Bulk tin.

Bulk has the least priority and minimum of 1/16th total bandwidth in the
face of higher priority traffic.

NB: Diffserv 3 & 4 swap tin 0 & 1 priorities from the default order as
found in diffserv8, in case anyone is wondering why it looks a bit odd.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
[ reword commit message slightly ]
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cake.c