diff options
author | Paul Blakey <paulb@mellanox.com> | 2020-02-18 10:24:07 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-07-09 19:51:15 -0700 |
commit | 6702d393557406e986bd6cfe250472b46a76e804 (patch) | |
tree | 82668e04f1b22bb97541e711dbd05960acb2b41b /net/lapb/lapb_timer.c | |
parent | b2fdf3d04714d4eea2f8a5c011cdd84b428c7df5 (diff) |
net/mlx5e: CT: Re-use tuple modify headers for identical modify actions
After removing the tupleid register which changed per tuple,
tuple modify headers set the ct_state, zone, mark, and label registers.
For non-natted tuples going through the same tc rules path, their values
will be the same, and all their modify headers will be the same.
Re-use tuple modify header when possible, by adding each new modify
header to an hahstable, and looking up identical ones before creating
a new one.
Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions