]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Modify slow path rules to go to slow fdb
authorVlad Buslov <vladbu@nvidia.com>
Thu, 7 Jul 2022 19:49:18 +0000 (21:49 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 28 Jul 2022 20:44:32 +0000 (13:44 -0700)
commite8d49e0f8a33f582c92d0b422950ccf104de6ec5
tree7951e1982ce357761241792251aebeb68b1f4428
parent282bda16c32d1d6cb475e50e2146c4e7367e09e3
net/mlx5e: Modify slow path rules to go to slow fdb

While extending available range of supported chains/prios referenced commit
also modified slow path rules to go to FT chain instead of actual slow FDB.
However neither of existing users of the MLX5_ATTR_FLAG_SLOW_PATH
flag (tunnel encap entries with invalid encap and flows with trap action)
need to match on FT chain. After bridge offload was implemented packets of
such flows can also be matched by bridge priority tables which is
undesirable. Restore slow path flows implementation to redirect packets to
slow_fdb.

Fixes: 63905f91c885 ("net/mlx5: E-Switch, Increase number of chains and priorities")
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c