]> git.proxmox.com Git - mirror_iproute2.git/commit - dcb/dcb_buffer.c
dcb: Add a subtool for the DCB buffer object
authorPetr Machata <me@pmachata.org>
Thu, 10 Dec 2020 23:02:23 +0000 (00:02 +0100)
committerDavid Ahern <dsahern@gmail.com>
Mon, 14 Dec 2020 16:42:03 +0000 (16:42 +0000)
commit2e36f91000e4b75f58daba08d4387b666159ac61
tree6936d95f5303a5ba47f304250486a6386011249d
parent6567cb588b15883d7b0bdc9fcc9d2a7a8f37fa3e
dcb: Add a subtool for the DCB buffer object

DCBNL buffer interfaces are an extension to the 802.1q DCB interfaces and
allow configuration of port headroom buffers.

Add a dcb subtool to allow showing and tweaking of buffer priority mapping
and buffer sizes. For example:

    # dcb buf show dev eni1np1
    prio-buffer 0:0 1:0 2:0 3:3 4:0 5:0 6:6 7:0
    buffer-size 0:10000 1:0 2:0 3:70000 4:0 5:0 6:10000 7:0
    total-size 221072

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