diff options
| author | Shay Drory <shayd@nvidia.com> | 2026-05-31 14:39:52 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-04 03:42:21 +0300 |
| commit | 9f062b931daa63c4b53baa20d5487d5f7f8cee04 (patch) | |
| tree | 816a095d7a34bd44fab9f9fd2ba1242b9d6be5d6 /include/linux/timerqueue.h | |
| parent | 786b1d7486b0e635bd2466e466fd3e27796b8b42 (diff) | |
| download | linux-9f062b931daa63c4b53baa20d5487d5f7f8cee04.tar.xz | |
net/mlx5e: TC, enable steering for SD LAG
Enable TC flow steering for SD LAG mode by extending multiport
eligibility checks and peer flow handling.
SD LAG operates similarly to MPESW for TC offloads - flows on
secondary devices need peer flow creation on the primary, and
multiport forwarding rules are eligible when either MPESW or SD LAG
is active.
Add mlx5_lag_is_sd() helper to query SD LAG mode, and
mlx5_sd_is_primary() to identify the primary device. Redirect uplink
priv/proto_dev queries to the primary device's eswitch in SD
configurations.
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-13-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
