net/sched: act_api: conditional notification of events
authorPedro Tammela <pctammela@mojatatu.com>
Fri, 8 Dec 2023 19:28:45 +0000 (16:28 -0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Dec 2023 02:52:57 +0000 (18:52 -0800)
commit8d4390f51920c1edb2d09d44d918c7940ac51e54
tree99b5675902d79a142d230ed5598f8dcecf73cb4a
parentc73724bfde0932cb0cafff2855e8ce81e12fd594
net/sched: act_api: conditional notification of events

As of today tc-action events are unconditionally built and sent to
RTNLGRP_TC. As with the introduction of rtnl_notify_needed we can check
before-hand if they are really needed.

Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20231208192847.714940-6-pctammela@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/act_api.c