net/mlx5: Fix matching on inner TTC
authorMark Bloch <mbloch@nvidia.com>
Sun, 10 Apr 2022 11:58:05 +0000 (11:58 +0000)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 4 May 2022 07:00:07 +0000 (00:00 -0700)
commita042d7f5bb68c47f6e0e546ca367d14e1e4b25ba
tree0e6bf513f6f05ad7675b83252da98867ad508d4d
parentfc3d3db07b35885f238e1fa06b9f04a8fa7a62d0
net/mlx5: Fix matching on inner TTC

The cited commits didn't use proper matching on inner TTC
as a result distribution of encapsulated packets wasn't symmetric
between the physical ports.

Fixes: 4c71ce50d2fe ("net/mlx5: Support partial TTC rules")
Fixes: 8e25a2bc6687 ("net/mlx5: Lag, add support to create TTC tables for LAG port selection")
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lag/port_sel.c
drivers/net/ethernet/mellanox/mlx5/core/lib/fs_ttc.c