diff options
author | David S. Miller <davem@davemloft.net> | 2022-03-21 17:11:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-21 17:11:38 +0300 |
commit | ca4f3f187b0885906ebac1abbf26545b5c514fba (patch) | |
tree | d4f9bb5b5757380586328e8b6433a8b7fff3da71 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e7dc00f3d6c323709c5515a7a3d05062a0034b83 (diff) | |
parent | 14e426bf1a4d77ac87d0fa2a964092a23f863e44 (diff) | |
download | linux-ca4f3f187b0885906ebac1abbf26545b5c514fba.tar.xz |
Merge branch 'devlink-locking'
Jakub Kicinski says:
====================
devlink: hold the instance lock in eswitch callbacks
Series number 2 in the effort to hold the devlink instance lock
in call driver callbacks. We have the following drivers using
this API:
- bnxt, nfp, netdevsim - their own locking is removed / simplified
by this series; all of them needed a lock to protect from changes
to the number of VFs while switching modes, now the VF config bus
callback takes the devlink instance lock via devl_lock();
- ice - appears not to allow changing modes while SR-IOV enabled,
so nothing to do there;
- liquidio - does not contain any locking;
- octeontx2/af - is very special but at least doesn't have locking
so doesn't get in the way either;
- mlx5 has a wealth of locks - I chickened out and dropped the lock
in the callbacks so that I can leave the driver be, for now.
The last one is obviously not ideal, but I would prefer to transition
the API already as it make take longer.
v2: use a wrapper in mlx5 and extend the comment
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions