Skip to content

tc: add new attr TCA_EXT_WARN_MSG

Hangbin Liu netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 8 repliesIn review
  2. v11 patch 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "tc/tc_monitor: print netlink extack message"tc/tc_monitor.c+0 -30 replies
1/2Revert "tc/tc_monitor: print netlink extack message"tc/tc_monitor.c+0 -30 replies
2/2tc: add new attr TCA_EXT_WARN_MSGinclude/uapi/linux/rtnetlink.h tc/m_action.c tc/tc_filter.c +1 more+18 -08 replies
2/2tc: add new attr TCA_EXT_WARN_MSGinclude/uapi/linux/rtnetlink.h tc/m_action.c tc/tc_filter.c +3 more+16 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHv2 iproute2-next 0/2] tc: add new attr TCA_EXT_WARN_MSG

This patch set revert commit 0cc5533b ("tc/tc_monitor: print netlink extack message") as we never used it. Then add new attr TCA_EXT_WARN_MSG to print the extack message as we proposed in the net-next patch.

I would reply to the kernel patch directly as it's not updated.

v2: Add a helper to print the warn message. I still print the msg in json ojbect given the disscuss in
https://lore.kernel.org/all/[email protected]/

Hangbin Liu (2):
Revert "tc/tc_monitor: print netlink extack message"
tc: add new attr TCA_EXT_WARN_MSG

 include/uapi/linux/rtnetlink.h | 1 +
 tc/m_action.c                  | 1 +
 tc/tc_filter.c                 | 1 +
 tc/tc_monitor.c                | 3 ---
 tc/tc_qdisc.c                  | 2 ++
 tc/tc_util.c                   | 9 +++++++++
 tc/tc_util.h                   | 2 ++
 7 files changed, 16 insertions(+), 3 deletions(-)
Signature · 1 line
2.38.1