summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2020-02-18 11:24:07 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-07-10 05:51:15 +0300
commit6702d393557406e986bd6cfe250472b46a76e804 (patch)
tree82668e04f1b22bb97541e711dbd05960acb2b41b /tools/perf/scripts/python/stackcollapse.py
parentb2fdf3d04714d4eea2f8a5c011cdd84b428c7df5 (diff)
downloadlinux-6702d393557406e986bd6cfe250472b46a76e804.tar.xz
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions