diff options
| author | Shay Drory <shayd@nvidia.com> | 2026-05-31 14:39:44 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-04 03:42:20 +0300 |
| commit | 2ca494dad9676301ecde1c9e214bfbf83d4c6326 (patch) | |
| tree | 211de03c418860b24d4f62f0d2c62b12d798ba94 /include/linux/timerqueue.h | |
| parent | 2b1ba02c379f136efadcaad92ade8fa5c3068252 (diff) | |
| download | linux-2ca494dad9676301ecde1c9e214bfbf83d4c6326.tar.xz | |
net/mlx5: LAG, replace peer count check with direct peer lookup
Replace mlx5_eswitch_get_npeers() count-based check with a new
mlx5_eswitch_is_peer() function that directly verifies the peer
relationship between two eswitches.
This change prepares for SD LAG support, which is a virtual LAG that
does not have num_lag_ports capability and cannot use the count-based
peer validation.
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260531113954.395443-5-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
