aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maximmi@nvidia.com>2022-01-25 12:52:54 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2022-02-14 22:30:50 -0800
commit3ab45777a27c5f53a55a2c353b70648449ca7a33 (patch)
treea1e55ab4a78130552aba37e6ff1c56b4a758bf85 /net/switchdev/switchdev.c
parent6b23f6ab86a4f3a608b9bfa98616e99a34bb650c (diff)
downloadlinux-3ab45777a27c5f53a55a2c353b70648449ca7a33.tar.gz
linux-3ab45777a27c5f53a55a2c353b70648449ca7a33.tar.bz2
linux-3ab45777a27c5f53a55a2c353b70648449ca7a33.zip
net/mlx5e: Use select queue parameters to sync with control flow
Start using the select queue parameters introduced in the previous commit to have proper synchronization with changing the configuration (such as number of channels and queues). It ensures that the state that mlx5e_select_queue() sees is always consistent and stays the same while the function is running. Also it allows mlx5e_select_queue to stop using data structures that weren't synchronized properly: txq2sq, channel_tc2realtxq, port_ptp_tc2realtxq. The last two are removed completely, as they were used only in mlx5e_select_queue. Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions