]> git.ipfire.org Git - thirdparty/iproute2.git/commit
dcb: Add a subtool for the DCB PFC object
authorPetr Machata <me@pmachata.org>
Thu, 10 Dec 2020 23:02:22 +0000 (00:02 +0100)
committerDavid Ahern <dsahern@gmail.com>
Mon, 14 Dec 2020 16:41:58 +0000 (16:41 +0000)
commit6567cb588b15883d7b0bdc9fcc9d2a7a8f37fa3e
tree5673e5facd7c6763470fdbf1c034b187d71df5fa
parent808dd741fce1158e824ae5bdf367947ae764be19
dcb: Add a subtool for the DCB PFC object

PFC, for "Priority-based Flow Control", allows configuration of priority
lossiness, and related toggles.

Add a dcb subtool to allow showing and tweaking of individual PFC
configuration options, and querying statistics. For example:

    # dcb pfc show dev eni1np1
    pfc-cap 8 macsec-bypass on delay 0
    pg-pfc 0:off 1:on 2:off 3:off 4:off 5:off 6:off 7:on
    requests 0:0 1:217 2:0 3:0 4:0 5:0 6:0 7:28
    indications 0:0 1:179 2:0 3:0 4:0 5:0 6:0 7:18

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_pfc.c [new file with mode: 0644]
man/man8/dcb-pfc.8 [new file with mode: 0644]
man/man8/dcb.8