Skip to content

Commit 09b2784

Browse files
Jiri Pirkodavem330
authored andcommitted
net: devlink: enable parallel ops on netlink interface
As the devlink_mutex was removed and all devlink instances are protected individually by devlink->lock mutex, allow the netlink ops to run in parallel and therefore allow user to execute commands on multiple devlink instances simultaneously. Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d3efc2a commit 09b2784

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/core/devlink.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9505,6 +9505,7 @@ static struct genl_family devlink_nl_family __ro_after_init = {
95059505
.maxattr = DEVLINK_ATTR_MAX,
95069506
.policy = devlink_nl_policy,
95079507
.netnsok = true,
9508+
.parallel_ops = true,
95089509
.pre_doit = devlink_nl_pre_doit,
95099510
.post_doit = devlink_nl_post_doit,
95109511
.module = THIS_MODULE,

0 commit comments

Comments
 (0)