]> git.proxmox.com Git - mirror_iproute2.git/commit
dcb: Add a subtool for the DCB maxrate object
authorPetr Machata <me@pmachata.org>
Thu, 10 Dec 2020 23:02:24 +0000 (00:02 +0100)
committerDavid Ahern <dsahern@gmail.com>
Mon, 14 Dec 2020 16:42:07 +0000 (16:42 +0000)
commit117939d9bd89369b9c97283dcbdb586d8616ae07
tree6849654da3cc4137b2fffb24092d302416e76915
parent2e36f91000e4b75f58daba08d4387b666159ac61
dcb: Add a subtool for the DCB maxrate object

DCBNL maxrate interfaces are an extension to the 802.1q DCB interfaces and
allow configuration of rate with which traffic in a given traffic class is
sent.

Add a dcb subtool to allow showing and tweaking of this per-TC maximum
rate. For example:

    # dcb maxrate show dev eni1np1
    tc-maxrate 0:25Gbit 1:25Gbit 2:25Gbit 3:25Gbit 4:25Gbit 5:25Gbit 6:100Gbit 7:25Gbit

Signed-off-by: Petr Machata <me@pmachata.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
dcb/Makefile
dcb/dcb.c
dcb/dcb.h
dcb/dcb_maxrate.c [new file with mode: 0644]
man/man8/dcb-maxrate.8 [new file with mode: 0644]
man/man8/dcb.8