diff options
author | Daniel Borkmann <[email protected]> | 2017-06-11 00:50:47 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-06-10 19:05:47 -0400 |
commit | ded092cd73c2c56a394b936f86897f29b2e131c0 (patch) | |
tree | d8fc58484a521feb4eeb19bbb332e00148efe51e /lib/mpi/mpi-internal.h | |
parent | 966789fb8636a35c3263076fea382263c5e56802 (diff) |
bpf: add bpf_set_hash helper for tc progs
Allow for tc BPF programs to set a skb->hash, apart from clearing
and triggering a recalc that we have right now. It allows for BPF
to implement a custom hashing routine for skb_get_hash().
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions