diff options
author | Shay Drory <shayd@nvidia.com> | 2023-10-12 12:27:40 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-10-14 10:16:31 -0700 |
commit | b430c1b4f63be51dde175a1dd3addba65ca24e2b (patch) | |
tree | d0426edc7e49d6ecbe54efb8e03e217025571e53 /include/linux/mlx5 | |
parent | e534552c92a44690e48593f9567fe689545ded73 (diff) | |
download | linux-b430c1b4f63be51dde175a1dd3addba65ca24e2b.tar.gz linux-b430c1b4f63be51dde175a1dd3addba65ca24e2b.tar.bz2 linux-b430c1b4f63be51dde175a1dd3addba65ca24e2b.zip |
net/mlx5: Replace global mlx5_intf_lock with HCA devcom component lock
mlx5_intf_lock is used to sync between LAG changes and its slaves
mlx5 core dev aux devices changes, which means every time mlx5 core
dev add/remove aux devices, mlx5 is taking this global lock, even if
LAG functionality isn't supported over the core dev.
This cause a bottleneck when probing VFs/SFs in parallel.
Hence, replace mlx5_intf_lock with HCA devcom component lock, or no
lock if LAG functionality isn't supported.
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions