OSDN Git Service

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)
commit09b278462f16569c63dd78ffa29bbfe048b4e604
treebbe09c8a5128cd44458912393c0de7987ebe52db
parentd3efc2a6a6d851bcd53805309f4632e018007436
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