summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/devlink.h
diff options
context:
space:
mode:
authorArkadi Sharshevsky2018-01-15 08:59:02 +0100
committerDavid S. Miller2018-01-16 20:15:34 +0100
commit2406e7e546b223e8cf42c44ac7352d4d1fd1dbcd (patch)
treef52c791e9abfca5b0f239ba315d1381af950545f /include/uapi/linux/devlink.h
parentphy: realtek: use new helpers for paged register access (diff)
downloadkernel-qcow2-linux-2406e7e546b223e8cf42c44ac7352d4d1fd1dbcd.tar.gz
kernel-qcow2-linux-2406e7e546b223e8cf42c44ac7352d4d1fd1dbcd.tar.xz
kernel-qcow2-linux-2406e7e546b223e8cf42c44ac7352d4d1fd1dbcd.zip
devlink: Add per devlink instance lock
This is a preparation before introducing resources and hot reload support. Currently there are two global lock where one protects all devlink access, and the second one protects devlink port access. This patch adds per devlink instance lock which protects the internal members which are the sb/dpipe/ resource/ports. By introducing this lock the global devlink port lock can be discarded. Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/devlink.h')
0 files changed, 0 insertions, 0 deletions