Skip to content

dcb: Support PFC, buffer, maxrate objects

Petr Machata netdev 1 version Applied

Status from this message: applied to iproute2-next. Thanks, Petr.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10dcb: Remove unsupported command line arguments from getopt_long()dcb/dcb.c+1 -10 replies
2/10dcb: ets: Fix help display for "show" subcommanddcb/dcb_ets.c+2 -20 replies
3/10dcb: ets: Change the way show parameters are given in synopsisdcb/dcb_ets.c man/man8/dcb-ets.8+13 -60 replies
4/10man: dcb-ets: Remove an unnecessary empty lineman/man8/dcb-ets.8+0 -10 replies
5/10dcb: Add dcb_set_u32(), dcb_set_u64()dcb/dcb.c dcb/dcb.h+23 -70 replies
6/10dcb: Add -s to enable statisticsdcb/dcb.c dcb/dcb.h man/man8/dcb.8+13 -20 replies
7/10dcb: Add -i to enable IEC modedcb/dcb.c dcb/dcb.h man/man8/dcb.8+13 -30 replies
8/10dcb: Add a subtool for the DCB PFC objectdcb/Makefile dcb/dcb.c dcb/dcb.h +3 more+453 -40 replies
9/10dcb: Add a subtool for the DCB buffer objectdcb/Makefile dcb/dcb.c dcb/dcb.h +3 more+375 -30 replies
10/10dcb: Add a subtool for the DCB maxrate objectdcb/Makefile dcb/dcb.c dcb/dcb.h +3 more+290 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute2-next 00/10] dcb: Support PFC, buffer, maxrate objects

Add support to the dcb tool for the following three DCB objects:

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

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

- 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.

Patches #1-#4 fix small issues in the current DCB code and man pages.

Patch #5 adds new helpers to the DCB dispatcher.

Patches #6 and #7 add support for command line arguments -s and -i. These enable, respectively, display of statistical counters, and ISO/IEC mode of rate units.

Patches #8-#10 add the subtools themselves and their man pages.

Petr Machata (10):
dcb: Remove unsupported command line arguments from getopt_long()
dcb: ets: Fix help display for "show" subcommand
dcb: ets: Change the way show parameters are given in synopsis
man: dcb-ets: Remove an unnecessary empty line
dcb: Add dcb_set_u32(), dcb_set_u64()
dcb: Add -s to enable statistics
dcb: Add -i to enable IEC mode
dcb: Add a subtool for the DCB PFC object
dcb: Add a subtool for the DCB buffer object
dcb: Add a subtool for the DCB maxrate object

 dcb/Makefile           |   2 +-
 dcb/dcb.c              |  66 +++++++++-
 dcb/dcb.h              |  24 +++-
 dcb/dcb_buffer.c       | 235 +++++++++++++++++++++++++++++++++
 dcb/dcb_ets.c          |  10 +-
 dcb/dcb_maxrate.c      | 182 ++++++++++++++++++++++++++
 dcb/dcb_pfc.c          | 286 +++++++++++++++++++++++++++++++++++++++++
 man/man8/dcb-buffer.8  | 126 ++++++++++++++++++
 man/man8/dcb-ets.8     |  14 +-
 man/man8/dcb-maxrate.8 |  94 ++++++++++++++
 man/man8/dcb-pfc.8     | 127 ++++++++++++++++++
 man/man8/dcb.8         |  29 ++++-
 12 files changed, 1173 insertions(+), 22 deletions(-)
 create mode 100644 dcb/dcb_buffer.c
 create mode 100644 dcb/dcb_maxrate.c
 create mode 100644 dcb/dcb_pfc.c
 create mode 100644 man/man8/dcb-buffer.8
 create mode 100644 man/man8/dcb-maxrate.8
 create mode 100644 man/man8/dcb-pfc.8
Signature · 1 line
2.25.1