Thread (17 messages) 17 messages, 4 authors, 2017-05-09

arch: arm: bpf: Converting cBPF to eBPF for arm 32 bit

From: davem@davemloft.net (David Miller)
Date: 2017-05-06 18:38:16
Also in: netdev

Possibly related (same subject, not in this thread)

From: Shubham Bansal <redacted>
Date: Sat, 6 May 2017 22:18:16 +0530
Hi Daniel,

Thanks for the last reply about the testing of eBPF JIT.

I have one issue though, I am not able to find what BPF_ABS and
BPF_IND instruction does exactly.
They are not instructions, they are modifiers for the BPF_LD
instruction which indicate an SKB load is to be performed.

You never need to ask what a BPF instruction does, it is clear
defined in the BPF interperter found in kernel/bpf/core.c

Look for the case statement LD_ABS_W and friends in __bpf_prog_run().
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help