Skip to content

Support RED ECN nodrop mode

Petr Machata netdev 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2uapi: pkt_sched: Update headers for RED nodropinclude/uapi/linux/pkt_sched.h+17 -00 replies
2/2tc: q_red: Support 'nodrop' flagman/man8/tc-red.8 tc/q_red.c tc/tc_red.c+30 -61 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH iproute2-next v2 0/2] Support RED ECN nodrop mode

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(-)
Signature · 1 line
2.20.1