All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Machata <petrm@mellanox.com>
To: netdev@vger.kernel.org
Cc: Petr Machata <petrm@mellanox.com>, David Ahern <dsahern@gmail.com>
Subject: [PATCH iproute2-next v2 0/2] Support RED ECN nodrop mode
Date: Mon, 23 Mar 2020 18:12:19 +0200	[thread overview]
Message-ID: <cover.1584979543.git.petrm@mellanox.com> (raw)

The kernel supports a new RED mode, "ECN nodrop". In the nodrop mode,
non-ECT packets are always queued, instead of being subject to early
dropping.

This patchset adds support for the RED ECN nodrop mode to iproute2. In
patch #1, kernel headers are synced. #2 adds support for the new mode and
describes it in the man page.

v2:
- Patch #2:
    - When dumping, read TCA_RED_FLAGS as nla_bitfield32 instead of u32.

Petr Machata (2):
  uapi: pkt_sched: Update headers for RED nodrop
  tc: q_red: Support 'nodrop' flag

 include/uapi/linux/pkt_sched.h | 17 +++++++++++++++++
 man/man8/tc-red.8              |  6 +++++-
 tc/q_red.c                     | 25 ++++++++++++++++++++-----
 tc/tc_red.c                    |  5 +++++
 4 files changed, 47 insertions(+), 6 deletions(-)

-- 
2.20.1


             reply	other threads:[~2020-03-23 16:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23 16:12 Petr Machata [this message]
2020-03-23 16:12 ` [PATCH iproute2-next v2 1/2] uapi: pkt_sched: Update headers for RED nodrop Petr Machata
2020-03-23 16:12 ` [PATCH iproute2-next v2 2/2] tc: q_red: Support 'nodrop' flag Petr Machata
2020-03-25 16:46   ` David Ahern

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.1584979543.git.petrm@mellanox.com \
    --to=petrm@mellanox.com \
    --cc=dsahern@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.