File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Documentation/networking/devlink Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,8 @@ new APIs prefixed by ``devl_*``. The older APIs handle all the locking
1313in devlink core, but don't allow registration of most sub-objects once
1414the main devlink object is itself registered. The newer ``devl_* `` APIs assume
1515the devlink instance lock is already held. Drivers can take the instance
16- lock by calling ``devl_lock() ``. It is also held in most of the callbacks.
17- Eventually all callbacks will be invoked under the devlink instance lock,
18- refer to the use of the ``DEVLINK_NL_FLAG_NO_LOCK `` flag in devlink core
19- to find out which callbacks are not converted, yet.
16+ lock by calling ``devl_lock() ``. It is also held all callbacks of devlink
17+ netlink commands.
2018
2119Drivers are encouraged to use the devlink instance lock for their own needs.
2220
You can’t perform that action at this time.
0 commit comments