summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorJohn Fastabend2018-05-14 19:00:17 +0200
committerDaniel Borkmann2018-05-15 20:41:03 +0200
commit81110384441a59cff47430f20f049e69b98c17f4 (patch)
tree4c178876a42538fbefb50678562f9801a805d667 /arch/sparc
parentbpf: sockmap, refactor sockmap routines to work with hashmap (diff)
downloadkernel-qcow2-linux-81110384441a59cff47430f20f049e69b98c17f4.tar.gz
kernel-qcow2-linux-81110384441a59cff47430f20f049e69b98c17f4.tar.xz
kernel-qcow2-linux-81110384441a59cff47430f20f049e69b98c17f4.zip
bpf: sockmap, add hash map support
Sockmap is currently backed by an array and enforces keys to be four bytes. This works well for many use cases and was originally modeled after devmap which also uses four bytes keys. However, this has become limiting in larger use cases where a hash would be more appropriate. For example users may want to use the 5-tuple of the socket as the lookup key. To support this add hash support. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions