linux/Documentation/networking/devlink
Jakub Kicinski 2cb7b4890d devlink: expose instance locking and add locked port registering
It should be familiar and beneficial to expose devlink instance
lock to the drivers. This way drivers can block devlink from
calling them during critical sections without breakneck locking.

Add port helpers, port splitting callbacks will be the first
target.

Use 'devl_' prefix for "explicitly locked" API. Initial RFC used
'__devlink' but that's too much typing.

devl_lock_is_held() is not defined without lockdep, which is
the same behavior as lockdep_is_held() itself.

Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-03-16 12:56:31 -07:00
..
am65-nuss-cpsw-switch.rst
bnxt.rst bnxt_en: Update bnxt.rst devlink documentation 2021-10-29 12:13:05 +01:00
devlink-dpipe.rst
devlink-flash.rst
devlink-health.rst
devlink-info.rst
devlink-params.rst devlink: Clarifies max_macs generic devlink param 2021-12-21 19:08:55 -08:00
devlink-port.rst
devlink-region.rst
devlink-reload.rst
devlink-resource.rst
devlink-trap.rst
hns3.rst
ice.rst ice: support immediate firmware activation via devlink reload 2021-12-15 08:40:38 -08:00
index.rst devlink: expose instance locking and add locked port registering 2022-03-16 12:56:31 -07:00
ionic.rst
iosm.rst
mlx4.rst
mlx5.rst Documentation: devlink: mlx5.rst: Fix htmldoc build warning 2022-01-06 16:22:55 -08:00
mlxsw.rst
mv88e6xxx.rst
netdevsim.rst
nfp.rst
octeontx2.rst devlink: add documentation for octeontx2 driver 2021-10-28 14:35:34 +01:00
prestera.rst
qed.rst
ti-cpsw-switch.rst