summaryrefslogtreecommitdiffstats
path: root/lib/test_rhashtable.c
diff options
context:
space:
mode:
authorDaniel Borkmann2015-04-03 20:52:24 +0200
committerDavid S. Miller2015-04-03 20:59:15 +0200
commitbcad57182425426dd4aa14deb27f97acb329f3cd (patch)
treed534fef01490769c56a9246f9cf07dd681f0ecbe /lib/test_rhashtable.c
parentjhash: Update jhash_[321]words functions to use correct initval (diff)
downloadkernel-qcow2-linux-bcad57182425426dd4aa14deb27f97acb329f3cd.tar.gz
kernel-qcow2-linux-bcad57182425426dd4aa14deb27f97acb329f3cd.tar.xz
kernel-qcow2-linux-bcad57182425426dd4aa14deb27f97acb329f3cd.zip
ebpf: add skb->priority to offset map for usage in {cls, act}_bpf
This adds the ability to read out the skb->priority from an eBPF program, so that it can be taken into account from a tc filter or action for the use-case where the priority is not being used to directly override the filter classification in a qdisc, but to tag traffic otherwise for the classifier; the priority can be assigned from various places incl. user space, in future we may also mangle it from an eBPF program. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Cc: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_rhashtable.c')
0 files changed, 0 insertions, 0 deletions