Skip to content

s390/bpf: Describe the frame using a struct instead of constants

Ilya Leoshkevich bpf 1 version Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2s390/bpf: Centralize frame offset calculationsarch/s390/net/bpf_jit_comp.c+26 -300 repliesApplied
2/2s390/bpf: Describe the frame using a struct instead of constantsarch/s390/net/bpf_jit.h arch/s390/net/bpf_jit_comp.c+47 -770 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf-next 0/2] s390/bpf: Describe the frame using a struct instead of constants

Hi,

This series contains two small refactorings without functional changes.

The first one removes the code duplication around calculating the distance from %r15 to the stack frame.

The second one simplifies how offsets to various values stored inside the frame are calculated.

Best regards,
Ilya

Ilya Leoshkevich (2):
s390/bpf: Centralize frame offset calculations s390/bpf: Describe the frame using a struct instead of constants

 arch/s390/net/bpf_jit.h      |  55 -----------------
 arch/s390/net/bpf_jit_comp.c | 113 +++++++++++++++++++++--------------
 2 files changed, 67 insertions(+), 101 deletions(-)
 delete mode 100644 arch/s390/net/bpf_jit.h
Signature · 1 line
2.49.0