diff options
author | Oz Shlomo <ozsh@nvidia.com> | 2022-10-31 12:00:30 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-11-12 13:20:20 +0300 |
commit | 05bb74c29d84dc6d26f57f5ed3970ab8aeb13551 (patch) | |
tree | 9e84eb418e7422ab1b97111743d80538de4bf9e5 /drivers/net/ethernet/mellanox/mlx5/core/en_stats.c | |
parent | 341361533011945f0a7da85632662a5879233853 (diff) | |
download | linux-05bb74c29d84dc6d26f57f5ed3970ab8aeb13551.tar.xz |
net/mlx5e: CT, optimize pre_ct table lookup
The pre_ct table realizes in hardware the act_ct cache logic, bypassing
the CT table if the ct state was already set by a previous ct lookup.
As such, the pre_ct table will always miss for chain 0 filters.
Optimize the pre_ct table lookup for rules installed on chain 0.
Signed-off-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_stats.c')
0 files changed, 0 insertions, 0 deletions