diff options
author | Alex Vesker <valex@mellanox.com> | 2019-10-31 16:24:59 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-11-20 23:33:05 +0300 |
commit | 83e79489135bdf13590ad09f3341f9ef509c2cf9 (patch) | |
tree | 1c2e9e6d003e2dcb80c1be64e645ea690dde32b3 /crypto/lzo.c | |
parent | 829969956f97e880dd01086be47747226e48a3f0 (diff) | |
download | linux-83e79489135bdf13590ad09f3341f9ef509c2cf9.tar.xz |
net/mlx5: DR, Skip rehash for tables with byte mask zero
The byte mask fields affect on the hash index distribution,
when the byte mask is zero, the hash calculation will always
be equal to the same index.
To avoid unneeded rehash of hash tables mark the table to skip
rehash.
This is needed by the next patch which will limit table rehash
to reduce memory consumption.
Fixes: 41d07074154c ("net/mlx5: DR, Expose steering rule functionality")
Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'crypto/lzo.c')
0 files changed, 0 insertions, 0 deletions