diff options
author | Matan Barak <matanb@mellanox.com> | 2017-05-28 11:09:06 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-08-24 15:02:58 +0200 |
commit | 0d235c3fabb79bddc46527885985f0ae281a89f9 (patch) | |
tree | 97acf0ea3e36094f9c3073d7f4b92dec6aedd58f /block | |
parent | net/mlx5: Don't store reserved part in FTEs and FGs (diff) | |
download | linux-0d235c3fabb79bddc46527885985f0ae281a89f9.tar.xz linux-0d235c3fabb79bddc46527885985f0ae281a89f9.zip |
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 'block')
0 files changed, 0 insertions, 0 deletions