diff options
author | Jiri Pirko <jiri@nvidia.com> | 2022-04-18 09:42:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-18 11:00:18 +0100 |
commit | adc6462376b1a22d486ab5f6e624ba9528a380da (patch) | |
tree | 897dc2104df9d1a01287aab84dc093fc874c7241 /drivers/net/ethernet/mellanox/mlxsw/spectrum.h | |
parent | mlxsw: reg: Add Ports Mapping Event Configuration Register (diff) | |
download | linux-dev-adc6462376b1a22d486ab5f6e624ba9528a380da.tar.xz linux-dev-adc6462376b1a22d486ab5f6e624ba9528a380da.zip |
mlxsw: Narrow the critical section of devl_lock during ports creation/removal
No need to hold the lock for alloc and freecpu. So narrow the critical
section. Follow-up patch is going to benefit from this by adding more
code to the functions which will be out of the critical as well.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
0 files changed, 0 insertions, 0 deletions