]> git.baikalelectronics.ru Git - kernel.git/commit
net: devlink: enable parallel ops on netlink interface
authorJiri Pirko <jiri@nvidia.com>
Fri, 29 Jul 2022 07:10:38 +0000 (09:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Aug 2022 11:14:00 +0000 (12:14 +0100)
commitcf5267a642c1b0af10b8bc0168a6b0aea697ac11
treebbe09c8a5128cd44458912393c0de7987ebe52db
parent7400d837e40187b4819fe96330f856f0514d2b89
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 <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/devlink.c