lkml.org 
[lkml]   [2021]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH net-next 6/6] devlink: Open devlink to parallel operations
Date
From: Leon Romanovsky <leonro@nvidia.com>

Allow parallel execution of devlink ops.

Tested-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
net/core/devlink.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/net/core/devlink.c b/net/core/devlink.c
index 7666249b346f..3b311043cbff 100644
--- a/net/core/devlink.c
+++ b/net/core/devlink.c
@@ -8979,6 +8979,7 @@ static struct genl_family devlink_nl_family __ro_after_init = {
.n_small_ops = ARRAY_SIZE(devlink_nl_ops),
.mcgrps = devlink_nl_mcgrps,
.n_mcgrps = ARRAY_SIZE(devlink_nl_mcgrps),
+ .parallel_ops = true,
};

static bool devlink_reload_actions_valid(const struct devlink_ops *ops)
--
2.33.1
\
 
 \ /
  Last update: 2021-12-05 09:23    [W:1.159 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site