kernel-fxtec-pro1x/arch/s390/net
Michael Holzheu 9db7f2b818 s390/bpf: recache skb->data/hlen for skb_vlan_push/pop
Allow eBPF programs attached to TC qdiscs call skb_vlan_push/pop
via helper functions. These functions may change skb->data/hlen.
This data is cached by s390 JIT to improve performance of ld_abs/ld_ind
instructions. Therefore after a change we have to reload the data.

In case of usage of skb_vlan_push/pop, in the prologue we store
the SKB pointer on the stack and restore it after BPF_JMP_CALL
to skb_vlan_push/pop.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-29 14:59:58 -07:00
..
bpf_jit.h s390/bpf: recache skb->data/hlen for skb_vlan_push/pop 2015-07-29 14:59:58 -07:00
bpf_jit.S s390/bpf: Add s390x eBPF JIT compiler backend 2015-04-15 12:23:49 +02:00
bpf_jit_comp.c s390/bpf: recache skb->data/hlen for skb_vlan_push/pop 2015-07-29 14:59:58 -07:00
Makefile s390/bpf,jit: BPF Just In Time compiler for s390 2012-09-26 15:44:49 +02:00