summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
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 /kernel/bpf/arraymap.c
parent804a15cdbbc3834504e161ee461c67f8eea959a4 (diff)
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 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions