]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: CT: Fix setting flow_source for smfs ct tuples
authorPaul Blakey <paulb@nvidia.com>
Thu, 7 Apr 2022 10:37:32 +0000 (13:37 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 18 May 2022 06:03:56 +0000 (23:03 -0700)
commit70639c343ba05d70152834e637ef8243c0bd5f1d
treee2d0c27851611dbdb96f954a00ea22543987e525
parentca7e41ce85d9eeb085f4a79c41b9a91dc7b258db
net/mlx5e: CT: Fix setting flow_source for smfs ct tuples

Cited patch sets flow_source to ANY overriding the provided spec
flow_source, avoiding the optimization done by commit 2f0c2ba8e079
("net/mlx5: CT: Set flow source hint from provided tuple device").

To fix the above, set the dr_rule flow_source from provided flow spec.

Fixes: e760a36b4ae6 ("net/mlx5: CT: Add software steering ct flow steering provider")
Signed-off-by: Paul Blakey <paulb@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.c