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
devlink-dpipe.rst
devlink-flash.rst
devlink-health.rst
devlink-info.rst
devlink-params.rst
devlink-port.rst
devlink-region.rst
devlink-reload.rst
devlink-resource.rst
devlink-trap.rst
hns3.rst
ice.rst
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
mlxsw.rst
mv88e6xxx.rst
netdevsim.rst
nfp.rst
octeontx2.rst
prestera.rst
qed.rst
ti-cpsw-switch.rst