Skip to content

Draft: bpf update v5.17

Depends: !834 (merged)

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2069046

Skipped commits

Expecting these to go through xdp backport:

fba84957e2e2 ("skbuff: Move conditional preprocessor directives out of struct sk_buff")                                                                                                                                                                                                                                                                 
e7049395b1c3 ("dccp/tcp: Remove an unused argument in inet_csk_listen_start().")                                                                                                                                                                                                                                                                        
5ce7ab4961a9 ("af_unix: Remove UNIX_ABSTRACT() macro and test sun_path[0] instead.")                                                                                                                                                                                                                                                                    
b6459415b384 ("net: Don't include filter.h from net/sock.h")                                                                                                                                                                                                                                                                                            
2741a0493c04 ("samples/bpf: xdpsock: Add VLAN support for Tx-only operation")                                                                                                                                                                                                                                                                           
6440a6c23f6c ("samples/bpf: xdpsock: Add Dest and Src MAC setting for Tx-only operation")                                                                                                                                                                                                                                                               
5a3882542acd ("samples/bpf: xdpsock: Add clockid selection support")                                                                                                                                                                                                                                                                                    
fa0d27a1d5a8 ("samples/bpf: xdpsock: Add cyclic TX operation capability")                                                                                                                                                                                                                                                                               
fa24d0b1d578 ("samples/bpf: xdpsock: Add sched policy and priority support")                                                                                                                                                                                                                                                                            
8121e7893201 ("samples/bpf: xdpsock: Add time-out for cleaning Tx")                                                                                                                                                                                                                                                                                     
eb68db45b747 ("samples/bpf: xdpsock: Add timestamp for Tx-only operation")                                                                                                                                                                                                                                                                              
d53ad5d8b218 ("xdp: Move conversion to xdp_frame out of map functions")                                                                                                                                                                                                                                                                                 
1372d34ccf6d ("xdp: Add xdp_do_redirect_frame() for pre-computed xdp_frames")                                                                                                                                                                                                                                                                           

Unsupported arches:

e32cb12ff52a ("bpf, mips: Fix build errors about __NR_bpf undeclared")                                                                                                                                                                                                                                                                                  
23b51916ee12 ("bpf ppc32: Add BPF_PROBE_MEM support for JIT")                                                                                                                                                                                                                                                                                           
e919c0b2323b ("bpf ppc32: Access only if addr is kernel address")                                                                                                                                                                                                                                                                                       
c07935cb3ccf ("riscv: bpf: move rv_bpf_fixup_exception signature to extable.h")                                                                                                                                                                                                                                                                         
ef127bca1129 ("riscv: extable: make fixup_exception() return bool")                                                                                                                                                                                                                                                                                     
2bf847db0c74 ("riscv: extable: add `type` and `data` fields")                                                                                                                                                                                                                                                                                           
fc839c6d33c8 ("riscv: bpf: Fix eBPF's exception tables")                                                                                                                                                                                                                                                                                                
fab07611fb2e ("powerpc32/bpf: Fix codegen for bpf-to-bpf calls")                 

Out of scope:

b89ddf4cca43 ("arm64/bpf: Remove 128MB limit for BPF JIT programs")                                    <- This one depends on arm64/extable patches
d45476d98324 ("x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE")
44a3918c8245 ("x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting")  <- We don't have unprivileged bpf enabled
4b5305decc84 ("x86/extable: Extend extable functionality")

Important omitted fixes

I am leaving out f858c2b2ca04 bpf: Fix calling global functions from BPF_PROG_TYPE_EXT programs out of this backport since it is dependent on not-so-small parts of Introduce unstable CT lookup helpers patchset. Given these are from 5.18 which is also planned for 9.2 I figured it will be easier to include this fix with that backport. If we really want this fix along with 5.17 backport we can use v1 of this patch instead which does not rely on resolve_prog_type().

Signed-off-by: Artem Savkov asavkov@redhat.com

Edited by Artem Savkov

Merge request reports

Loading