]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit425b3b4513dfe3736c5ae3486c9870757372cc01
tree0e6bf513f6f05ad7675b83252da98867ad508d4d
parent02a91635a3aa088664f4504d97c758f134b7fb39
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: 258b67acb879 ("net/mlx5: Support partial TTC rules")
Fixes: 3044470c1312 ("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