[PATCH bpf-next v10 0/2] bpf: Allow bpf_skb_event_output for more prog types

2019-07-23 Thread Allan Zhang
patch 02 subject "bpf:..." to "selftests/bpf:..." v6 changes: Fix Signed-off-by, fix fixup map creation. v5 changes: Fix typos, reformat comments in event_output.c, move revision history to cover letter. v4 changes: Reformating log message. v3 changes: Reformating log mes

[PATCH bpf-next v10 1/2] bpf: Allow bpf_skb_event_output for a few prog types

2019-07-23 Thread Allan Zhang
00 08 00 00 00 r5 = 8 8: 85 00 00 00 19 00 00 00 call 25 9: b7 00 00 00 01 00 00 00 r0 = 1 10: 95 00 00 00 00 00 00 00 exit Signed-off-by: Allan Zhang Acked-by: Song Liu --- net/core/filter.c | 6 ++ 1 file changed, 6 in

[PATCH bpf-next v10 2/2] selftests/bpf: Add selftests for bpf_perf_event_output

2019-07-23 Thread Allan Zhang
Software event output is only enabled by a few prog types. This test is to ensure that all supported types are enabled for bpf_perf_event_output successfully. Signed-off-by: Allan Zhang Acked-by: Song Liu --- tools/testing/selftests/bpf/test_verifier.c | 12 ++- .../selftests/bpf/verifier

[PATCH bpf-next v9 2/2] selftests/bpf: Add selftests for bpf_perf_event_output

2019-07-10 Thread Allan Zhang
From: allanzhang Software event output is only enabled by a few prog types. This test is to ensure that all supported types are enabled for bpf_perf_event_output successfully. Signed-off-by: Allan Zhang Acked-by: Song Liu --- tools/testing/selftests/bpf/test_verifier.c | 12

[PATCH bpf-next v9 1/2] bpf: Allow bpf_skb_event_output for a few prog types

2019-07-10 Thread Allan Zhang
7: b7 05 00 00 08 00 00 00 r5 = 8 8: 85 00 00 00 19 00 00 00 call 25 9: b7 00 00 00 01 00 00 00 r0 = 1 10: 95 00 00 00 00 00 00 00 exit Signed-off-by: Allan Zhang Acked-by: Song Liu --- net/core/filter.c | 6 ++

[PATCH bpf-next v9 0/2] bpf: Allow bpf_skb_event_output for more prog types

2019-07-10 Thread Allan Zhang
uot; v6 changes: Fix Signed-off-by, fix fixup map creation. v5 changes: Fix typos, reformat comments in event_output.c, move revision history to cover letter. v4 changes: Reformating log message. v3 changes: Reformating log message. v2 changes: Reformating log message. Allan Zhang (2): bp

[PATCH bpf-next v8 0/2] bpf: Allow bpf_skb_event_output for more prog types

2019-07-09 Thread Allan Zhang
xup map creation. v5 changes: Fix typos, reformat comments in event_output.c, move revision history to cover letter. v4 changes: Reformating log message. v3 changes: Reformating log message. v2 changes: Reformating log message. Allan Zhang (2): bpf: Allow bpf_skb_event_output for a few prog

[PATCH bpf-next v8 2/2] selftests/bpf: Add selftests for bpf_perf_event_output

2019-07-09 Thread Allan Zhang
From: allanzhang Software event output is only enabled by a few prog types. This test is to ensure that all supported types are enabled for bpf_perf_event_output successfully. Signed-off-by: Allan Zhang --- tools/testing/selftests/bpf/test_verifier.c | 12 ++- .../selftests/bpf/verifier

[PATCH bpf-next v8 1/2] bpf: Allow bpf_skb_event_output for a few prog types

2019-07-09 Thread Allan Zhang
7: b7 05 00 00 08 00 00 00 r5 = 8 8: 85 00 00 00 19 00 00 00 call 25 9: b7 00 00 00 01 00 00 00 r0 = 1 10: 95 00 00 00 00 00 00 00 exit Signed-off-by: Allan Zhang --- net/core/filter.c | 6 ++ 1 file changed, 6 in