From: Petr Machata <me@pmachata•org>
To: netdev@vger•kernel.org, dsahern@gmail•com, stephen@networkplumber•org
Cc: Petr Machata <me@pmachata•org>
Subject: [PATCH iproute2-next 0/9] dcb: Support APP, DCBX objects
Date: Wed, 23 Dec 2020 19:25:38 +0100 [thread overview]
Message-ID: <cover.1608746691.git.me@pmachata.org> (raw)
Add support to the dcb tool for the following two DCB objects:
- APP, which allows configuration of traffic prioritization rules based on
several possible packet headers.
- DCBX, which is a 1-byte bitfield of flags that configure whether the DCBX
protocol is implemented in the device or in the host, and which version
of the protocol should be used.
Patches #1 and #2 fix issues in the current DCB code.
Patch #3 adds a new helper for finding a name of a given dsfield value.
This is useful for APP DSCP-to-priority rules, which can use human-readable
DSCP names.
Patches #4, #5 and #6 extend existing interfaces for, respectively, parsing
of the X:Y mappings, for setting a DCB object, and for getting a DCB
object.
In patch #7, support for the command line argument -n / --no-nice-names is
added. The APP tool later uses it to decide whether to format DSCP values
as human-readable strings or as plain numbers.
Patches #8 and #9 add the subtools themselves and their man pages.
Petr Machata (9):
dcb: Set values with RTM_SETDCB type
dcb: Plug a leaking DCB socket buffer
lib: rt_names: Add rtnl_dsfield_get_name()
lib: Generalize parse_mapping()
dcb: Generalize dcb_set_attribute()
dcb: Generalize dcb_get_attribute()
dcb: Support -n to suppress translation to nice names
dcb: Add a subtool for the DCB APP object
dcb: Add a subtool for the DCBX object
dcb/Makefile | 8 +-
dcb/dcb.c | 194 +++++++++--
dcb/dcb.h | 20 ++
dcb/dcb_app.c | 796 ++++++++++++++++++++++++++++++++++++++++++++
dcb/dcb_dcbx.c | 192 +++++++++++
include/rt_names.h | 1 +
include/utils.h | 5 +
lib/rt_names.c | 20 +-
lib/utils.c | 37 +-
man/man8/dcb-app.8 | 237 +++++++++++++
man/man8/dcb-dcbx.8 | 108 ++++++
man/man8/dcb.8 | 12 +-
12 files changed, 1592 insertions(+), 38 deletions(-)
create mode 100644 dcb/dcb_app.c
create mode 100644 dcb/dcb_dcbx.c
create mode 100644 man/man8/dcb-app.8
create mode 100644 man/man8/dcb-dcbx.8
--
2.25.1
next reply other threads:[~2020-12-23 18:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-23 18:25 Petr Machata [this message]
2020-12-23 18:25 ` [PATCH iproute2-next 1/9] dcb: Set values with RTM_SETDCB type Petr Machata
2020-12-23 18:25 ` [PATCH iproute2-next 2/9] dcb: Plug a leaking DCB socket buffer Petr Machata
2020-12-23 18:25 ` [PATCH iproute2-next 3/9] lib: rt_names: Add rtnl_dsfield_get_name() Petr Machata
2020-12-23 18:25 ` [PATCH iproute2-next 4/9] lib: Generalize parse_mapping() Petr Machata
2020-12-23 18:25 ` [PATCH iproute2-next 5/9] dcb: Generalize dcb_set_attribute() Petr Machata
2020-12-23 18:25 ` [PATCH iproute2-next 6/9] dcb: Generalize dcb_get_attribute() Petr Machata
2020-12-23 18:25 ` [PATCH iproute2-next 7/9] dcb: Support -n to suppress translation to nice names Petr Machata
2020-12-31 17:11 ` David Ahern
2021-01-01 21:34 ` Petr Machata
2020-12-23 18:25 ` [PATCH iproute2-next 8/9] dcb: Add a subtool for the DCB APP object Petr Machata
2020-12-23 18:25 ` [PATCH iproute2-next 9/9] dcb: Add a subtool for the DCBX object Petr Machata
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1608746691.git.me@pmachata.org \
--to=me@pmachata$(echo .)org \
--cc=dsahern@gmail$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=stephen@networkplumber$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox