OSDN Git Service

net/mlx5e: CT: Allow header rewrite of 5-tuple and ct clear action
authorPaul Blakey <paulb@mellanox.com>
Sun, 3 May 2020 13:45:02 +0000 (16:45 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 10 Jul 2020 02:51:13 +0000 (19:51 -0700)
commita7c119bd82a1d937db5b86fcfe1d5f991469c52d
tree592052d3bca6d081d643624f56142e780b650131
parentbc562be9674bce9c42dd6d057558d498698a801a
net/mlx5e: CT: Allow header rewrite of 5-tuple and ct clear action

With ct clear we don't jump to the ct tables, so header rewrite
of 5-tuple can be done in place (and not moved to after the CT action).

Check for ct clear action, and if so, allow 5-tuple header
rewrite.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c