mbox series

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

Message ID cover.1607640819.git.me@pmachata.org
Headers show
Series dcb: Support PFC, buffer, maxrate objects | expand

Message

Petr Machata Dec. 10, 2020, 11:02 p.m. UTC
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

Comments

David Ahern Dec. 14, 2020, 4:51 p.m. UTC | #1
On 12/10/20 4:02 PM, Petr Machata wrote:
> 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.

> 


applied to iproute2-next. Thanks, Petr.