bpf: introduce bpf_skb_vlan_push/pop() helpers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- reworded commit log to better explain correctness of re-caching and fixed comparison of mixed endiannes (suggested by Eric)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: introduce bpf_skb_vlan_push/pop() helpersarch/ arch/ include/ +3 more | +99 | 0 replies | |
| 2/2 | test_bpf: add bpf_skb_vlan_push/pop() testskernel/ lib/ net/ | +98 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 net-next 0/2] bpf: introduce bpf_skb_vlan_push/pop() helpers
Let TC+eBPF programs call skb_vlan_push/pop via helpers.
v1->v2:
- reworded commit log to better explain correctness of re-caching and fixed comparison of mixed endiannes (suggested by Eric)
Alexei Starovoitov (2):
bpf: introduce bpf_skb_vlan_push/pop() helpers
test_bpf: add bpf_skb_vlan_push/pop() tests
arch/s390/net/bpf_jit_comp.c | 4 ++ arch/x86/net/bpf_jit_comp.c | 80 ++++++++++++++++++---------------- include/linux/bpf.h | 2 + include/linux/filter.h | 1 + include/uapi/linux/bpf.h | 2 + kernel/bpf/core.c | 1 + lib/test_bpf.c | 98 ++++++++++++++++++++++++++++++++++++++++-- net/core/filter.c | 50 +++++++++++++++++++++ 8 files changed, 197 insertions(+), 41 deletions(-)
Signature · 1 line
1.7.9.5