[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230117071925.3707106-1-liuhangbin@gmail.com>
Date: Tue, 17 Jan 2023 15:19:23 +0800
From: Hangbin Liu <liuhangbin@...il.com>
To: netdev@...r.kernel.org
Cc: Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
David Ahern <dsahern@...nel.org>,
Stephen Hemminger <stephen@...workplumber.org>,
Hangbin Liu <liuhangbin@...il.com>
Subject: [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/20230114090311.1adf0176@hermes.local/
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(-)
--
2.38.1
Powered by blists - more mailing lists