diff options
author | Matan Barak <matanb@mellanox.com> | 2017-05-28 12:09:06 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-08-24 16:02:58 +0300 |
commit | 0d235c3fabb79bddc46527885985f0ae281a89f9 (patch) | |
tree | 97acf0ea3e36094f9c3073d7f4b92dec6aedd58f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 667cb65ae5ad01523505d48d6cfd92bd1d3c9785 (diff) |
net/mlx5: Add hash table to search FTEs in a flow-group
When adding a flow table entry (fte) to a flow group (fg), we first
need to check whether this fte exist. In such a case we just merge
the destinations (if possible). Currently, this is done by traversing
the fte list available in a fg. This could take a lot of time when
using large flow groups. Speeding this up by using rhashtable, which
is much faster.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions