diff options
author | Dima Chumak <dchumak@nvidia.com> | 2021-03-04 21:28:11 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-03-22 13:16:40 -0700 |
commit | 96b5b4585843e3c83fb1930e5dfbefd0fb889c55 (patch) | |
tree | 0de3941ec1b90647a5075d95fddf15783c0fe4a3 /lib/mpi/ec.c | |
parent | 7d6c86e3ccb5ceea767df5c7a9a17cdfccd3df9a (diff) |
net/mlx5e: Offload tuple rewrite for non-CT flows
Setting connection tracking OVS flows and then setting non-CT flows that
use tuple rewrite action (e.g. mod_tp_dst), causes the latter flows not
being offloaded.
Fix by using a stricter condition in modify_header_match_supported() to
check tuple rewrite support only for flows with CT action. The check is
factored out into standalone modify_tuple_supported() function to aid
readability.
Fixes: 7e36feeb0467 ("net/mlx5e: CT: Don't offload tuple rewrites for established tuples")
Signed-off-by: Dima Chumak <dchumak@nvidia.com>
Reviewed-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'lib/mpi/ec.c')
0 files changed, 0 insertions, 0 deletions