net/mlx5e: CT: Save ct entries tuples in hashtables
authorPaul Blakey <paulb@mellanox.com>
Sun, 29 Mar 2020 10:07:49 +0000 (13:07 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 10 Jul 2020 02:51:13 +0000 (19:51 -0700)
commitbc562be9674bce9c42dd6d057558d498698a801a
tree685f28baf7c8f7005a461dd87d9dd994de028042
parente9716afdcae4ceea3a093e5b2fac1a5df0f943ca
net/mlx5e: CT: Save ct entries tuples in hashtables

Save original tuple and natted tuple in two new hashtables.

This is a pre-step for restoring ct state after hw miss by performing a
5-tuple lookup on the hash tables.

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_ct.c