]> 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)
commit5cabab73e80b9def343a4e03cf71f42682a1c97c
tree7951e1982ce357761241792251aebeb68b1f4428
parent8e4a843e332b0386a791dad8a6a5929f99e4668a
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: da0839c58312 ("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