aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-01-30 08:58:33 +0000
committerDavid S. Miller <davem@davemloft.net>2019-01-30 10:00:40 -0800
commitcb56e214679ffd1e30e980c56349831c5a00cfdf (patch)
treeb85a42ff4a2f6ca22a5c76b3830061fdc5ff63eb /include
parentMerge branch 'sctp-support-SCTP_FUTURE-CURRENT-ALL_ASSOC' (diff)
downloadlinux-dev-cb56e214679ffd1e30e980c56349831c5a00cfdf.tar.xz
linux-dev-cb56e214679ffd1e30e980c56349831c5a00cfdf.zip
mlxsw: spectrum_acl: Include delta bits into hashtable key
Currently only ERP mask masked bits in key are considered for the hashtable key. That leads to false negative collisions and fallbacks to C-TCAM in case two keys differ only in delta bits. Fix this by taking full encoded key as a hashtable key, including delta bits. Reported-by: Nir Dotan <nird@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions