aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/devlink/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/networking/devlink/index.rst')
-rw-r--r--Documentation/networking/devlink/index.rst25
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/networking/devlink/index.rst b/Documentation/networking/devlink/index.rst
index 087ff54d53fc..4b653d040627 100644
--- a/Documentation/networking/devlink/index.rst
+++ b/Documentation/networking/devlink/index.rst
@@ -4,6 +4,20 @@ Linux Devlink Documentation
devlink is an API to expose device information and resources not directly
related to any device class, such as chip-wide/switch-ASIC-wide configuration.
+Locking
+-------
+
+Driver facing APIs are currently transitioning to allow more explicit
+locking. Drivers can use the existing ``devlink_*`` set of APIs, or
+new APIs prefixed by ``devl_*``. The older APIs handle all the locking
+in devlink core, but don't allow registration of most sub-objects once
+the main devlink object is itself registered. The newer ``devl_*`` APIs assume
+the devlink instance lock is already held. Drivers can take the instance
+lock by calling ``devl_lock()``. It is also held all callbacks of devlink
+netlink commands.
+
+Drivers are encouraged to use the devlink instance lock for their own needs.
+
Interface documentation
-----------------------
@@ -16,10 +30,15 @@ general.
devlink-dpipe
devlink-health
devlink-info
+ devlink-flash
devlink-params
+ devlink-port
devlink-region
devlink-resource
+ devlink-reload
+ devlink-selftests
devlink-trap
+ devlink-linecard
Driver-specific documentation
-----------------------------
@@ -31,7 +50,9 @@ parameters, info versions, and other features it supports.
:maxdepth: 1
bnxt
+ hns3
ionic
+ ice
mlx4
mlx5
mlxsw
@@ -40,3 +61,7 @@ parameters, info versions, and other features it supports.
nfp
qed
ti-cpsw-switch
+ am65-nuss-cpsw-switch
+ prestera
+ iosm
+ octeontx2