summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/diag/Makefile
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2017-05-28 16:45:31 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-08-24 16:02:58 +0300
commit693c6883bbc4f7649750eb9ce49d0b799d073186 (patch)
tree84424d5ca67229e799422387f77077b8ac9f4cf6 /drivers/net/ethernet/mellanox/mlx5/core/diag/Makefile
parent0d235c3fabb79bddc46527885985f0ae281a89f9 (diff)
downloadlinux-693c6883bbc4f7649750eb9ce49d0b799d073186.tar.bz2
net/mlx5: Add hash table for flow groups in flow table
When adding a flow table entry (fte) to a flow table (ft), we first need to find its flow group (fg). Currently, this is done by traversing a linear list of all flow groups in the flow table. Furthermore, since multiple flow groups which correspond to the same fte mask may exist in the same ft, we can't just stop at the first match. Converting the linear list to rhltable in order to speed things up. The last four patches increases the steering rules update rate by a factor of more than 7 (for insertion of 50K steering rules). 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 'drivers/net/ethernet/mellanox/mlx5/core/diag/Makefile')
0 files changed, 0 insertions, 0 deletions