diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-12-13 17:54:01 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-13 17:54:01 -0800 |
commit | a25ebbf332fd2d948937c6ef016e66db62e1abf2 (patch) | |
tree | 3bcb7f6743ab4f3148203d01aa9bc4d02f48110a /include | |
parent | 604ca8ee7bdc62488af1da1231026d3b71f17725 (diff) | |
parent | 1dd7f18fc0ed75dad4d5f2ecc84f69c6b62b6a81 (diff) | |
download | linux-a25ebbf332fd2d948937c6ef016e66db62e1abf2.tar.gz linux-a25ebbf332fd2d948937c6ef016e66db62e1abf2.tar.bz2 linux-a25ebbf332fd2d948937c6ef016e66db62e1abf2.zip |
Merge branch 'net-sched-optimizations-around-action-binding-and-init'
Pedro Tammela says:
====================
net/sched: optimizations around action binding and init
Scaling optimizations for action binding in rtnl-less filters.
We saw a noticeable lock contention around idrinfo->lock when
testing in a 56 core system, which disappeared after the patches.
====================
Link: https://lore.kernel.org/r/20231211181807.96028-1-pctammela@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/act_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/act_api.h b/include/net/act_api.h index 4ae0580b63ca..ea13e1e4a7c2 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h @@ -191,7 +191,7 @@ int tcf_idr_create_from_flags(struct tc_action_net *tn, u32 index, struct nlattr *est, struct tc_action **a, const struct tc_action_ops *ops, int bind, u32 flags); -void tcf_idr_insert_many(struct tc_action *actions[]); +void tcf_idr_insert_many(struct tc_action *actions[], int init_res[]); void tcf_idr_cleanup(struct tc_action_net *tn, u32 index); int tcf_idr_check_alloc(struct tc_action_net *tn, u32 *index, struct tc_action **a, int bind); |