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 /drivers/siox | |
parent | net/mlx5e: Export sharing of mod headers to a new file (diff) | |
download | linux-dev-6702d393557406e986bd6cfe250472b46a76e804.tar.xz linux-dev-6702d393557406e986bd6cfe250472b46a76e804.zip |
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 'drivers/siox')
0 files changed, 0 insertions, 0 deletions