BPF List
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Fix and optimize BPF tailcall for LoongArch
@ 2026-07-07 10:15 Tiezhu Yang
  2026-07-07 10:15 ` [PATCH v3 1/4] LoongArch: BPF: Optimize redundant TCC loads in epilogue Tiezhu Yang
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Tiezhu Yang @ 2026-07-07 10:15 UTC (permalink / raw)
  To: Huacai Chen, Hengqi Chen; +Cc: loongarch, bpf, linux-kernel

Based on 7.2-rc2, tested on a Loongson-3A6000 physical machine.

Here are the test results:

  $ sudo modprobe test_bpf test_suite=test_tail_calls
  $ dmesg -t | tail -1
  test_bpf: test_tail_calls: Summary: 10 PASSED, 0 FAILED, [10/10 JIT'ed]

  $ sudo ./test_progs -t tailcalls | tail -1
  Summary: 1/37 PASSED, 0 SKIPPED, 0 FAILED

v2 -> v3:
  -- Patch 1: Add Fixes tag.
  -- Patch 2: Update the commit message and add Fixes tag.
  -- Patch 3: Update the commit message and add Fixes tag.
  -- Patch 4: Condense the code comments and update the commit message.

No code changes.

Tiezhu Yang (4):
  LoongArch: BPF: Optimize redundant TCC loads in epilogue
  LoongArch: BPF: Move arena register slot below TCC context
  LoongArch: BPF: Refactor jump offset calculation in tail call
  LoongArch: BPF: Implement branchless conditional move for TCC

 arch/loongarch/include/asm/inst.h |  6 +++
 arch/loongarch/net/bpf_jit.c      | 85 +++++++++++--------------------
 2 files changed, 36 insertions(+), 55 deletions(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-07-09  9:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-07 10:15 [PATCH v3 0/4] Fix and optimize BPF tailcall for LoongArch Tiezhu Yang
2026-07-07 10:15 ` [PATCH v3 1/4] LoongArch: BPF: Optimize redundant TCC loads in epilogue Tiezhu Yang
2026-07-07 10:26   ` sashiko-bot
2026-07-07 10:47     ` Tiezhu Yang
2026-07-07 10:15 ` [PATCH v3 2/4] LoongArch: BPF: Move arena register slot below TCC context Tiezhu Yang
2026-07-07 10:15 ` [PATCH v3 3/4] LoongArch: BPF: Refactor jump offset calculation in tail call Tiezhu Yang
2026-07-07 10:15 ` [PATCH v3 4/4] LoongArch: BPF: Implement branchless conditional move for TCC Tiezhu Yang
2026-07-09  8:58 ` [PATCH v3 0/4] Fix and optimize BPF tailcall for LoongArch Daniel Borkmann
2026-07-09  9:15   ` Tiezhu Yang
2026-07-09  9:25     ` Huacai Chen
2026-07-09  9:47       ` Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox